| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final transient List | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CsvRequiredFieldEmptyException(String
Human-readable error text message)Constructor with a simple text. |
| public | CsvRequiredFieldEmptyException(Class<?>
Class of the destination bean beanClass, Field Field of the destination field in the destination bean destinationField)Constructor for setting the intended class and field of the target bean. |
| public | CsvRequiredFieldEmptyException(Class<?>
Class of the destination bean beanClass, List<Field> Fields of the destination fields in the destination bean destinationFields)Constructor for setting the intended class and fields of the target bean. |
| public | CsvRequiredFieldEmptyException(Class<?>
Class of the destination bean beanClass, String Human-readable error text message)Constructor for setting the intended class of the target bean and a human-readable error message. |
| public | CsvRequiredFieldEmptyException(Class<?>
Class of the destination bean beanClass, Field Field of the destination field in the destination bean destinationField, String Human-readable error text message)Constructor for setting the intended class and field of the target bean along with an error message. |
| public | CsvRequiredFieldEmptyException(Class<?>
Class of the destination bean beanClass, List<Field> Field of the destination field in the destination bean destinationFields, String Human-readable error text message)Constructor for setting the intended class and fields of the target bean along with an error message. |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: The class of the bean to which the destination field belongsGets the class of the bean to which the value was to be assigned. |
| public Field | Returns: The first destination field that was to receive the empty valueGets the field from the Reflection API that was to be assigned. |
| public List | Returns: All destination fields that were to receive the empty valueReturns the complete list of all fields that were to be empty. |
| beanClass | back to summary |
|---|---|
| private final Class<?> beanClass | |
| destinationFields | back to summary |
|---|---|
| private final transient List<Field> destinationFields | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException() Default constructor, in case no further information is necessary. | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(String message) Constructor with a simple text.
| |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(Class<?> beanClass, Field destinationField) Constructor for setting the intended class and field of the target bean. These may not be known in every context. This constructor is provided for backward compatibility and for convenience if you only have one missing destination field. | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(Class<?> beanClass, List<Field> destinationFields) Constructor for setting the intended class and fields of the target bean. These may not be known in every context. | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(Class<?> beanClass, String message) Constructor for setting the intended class of the target bean and a human-readable error message. These may not be known in every context. | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(Class<?> beanClass, Field destinationField, String message) Constructor for setting the intended class and field of the target bean along with an error message. The class and field may not be known in every context. This constructor is provided for backward compatibility and for convenience if you only have one missing destination field. | |
| CsvRequiredFieldEmptyException | back to summary |
|---|---|
| public CsvRequiredFieldEmptyException(Class<?> beanClass, List<Field> destinationFields, String message) Constructor for setting the intended class and fields of the target bean along with an error message. The class and field may not be known in every context. | |
| getBeanClass | back to summary |
|---|---|
| public Class Gets the class of the bean to which the value was to be assigned.
| |
| getDestinationField | back to summary |
|---|---|
| public Field getDestinationField() Gets the field from the Reflection API that was to be assigned. This method is provided as a convenience for when you know there can be only one field, or you really only care about the first field.
| |
| getDestinationFields | back to summary |
|---|---|
| public List Returns the complete list of all fields that were to be empty.
| |