| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private static final long | |
| private final transient Object |
| Access | Constructor and Description |
|---|---|
| public | CsvDataTypeMismatchException()
Default constructor, in case no further information is necessary or available. |
| public | CsvDataTypeMismatchException(Object
Object that was to be assigned to the destination
field. This may not be available in all contexts. sourceObject, Class<?> Class of the destination field. This may not be
available in all contexts. destinationClass)Constructor for setting the data and the class of the intended destination field. |
| public | CsvDataTypeMismatchException(String
Human-readable error text message)Constructor with a simple text. |
| public | CsvDataTypeMismatchException(Object
Object that was to be assigned to the destination
field. This may not be available in all contexts. sourceObject, Class<?> Class of the destination field. This may not be
available in all contexts. destinationClass, String Human-readable error text message)Constructor for setting the data and the class of the intended destination field along with an error message. |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: The class of the destination fieldGets the type of the field to which the data were to be assigned. |
| public Object | Returns: The data that could not be assignedGets the object that was to be assigned to a field of the wrong type. |
| destinationClass | back to summary |
|---|---|
| private final Class<?> destinationClass | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| sourceObject | back to summary |
|---|---|
| private final transient Object sourceObject | |
| CsvDataTypeMismatchException | back to summary |
|---|---|
| public CsvDataTypeMismatchException() Default constructor, in case no further information is necessary or available. | |
| CsvDataTypeMismatchException | back to summary |
|---|---|
| public CsvDataTypeMismatchException(Object sourceObject, Class<?> destinationClass) Constructor for setting the data and the class of the intended destination field. | |
| CsvDataTypeMismatchException | back to summary |
|---|---|
| public CsvDataTypeMismatchException(String message) Constructor with a simple text.
| |
| CsvDataTypeMismatchException | back to summary |
|---|---|
| public CsvDataTypeMismatchException(Object sourceObject, Class<?> destinationClass, String message) Constructor for setting the data and the class of the intended destination field along with an error message. | |
| getDestinationClass | back to summary |
|---|---|
| public Class Gets the type of the field to which the data were to be assigned.
| |
| getSourceObject | back to summary |
|---|---|
| public Object getSourceObject() Gets the object that was to be assigned to a field of the wrong type.
| |