java.lang.NoSuchMethodException ,
java.lang.IllegalAccessException and
java.lang.reflect.InvocationTargetException . Some might notice that
this effectively converts checked exceptions into unchecked exceptions.
Introspection exceptions are coding errors that should be fixed during
development, and should not have to be handled in production code.
| Modifier and Type | Field and Description |
|---|---|
| private final transient Object | bean
The bean that was acted upon. |
| private final transient Field | field
The field that was supposed to be manipulated in the bean. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CsvBeanIntrospectionException(String
Error message message)Constructor with a human-readable error message. |
| public | CsvBeanIntrospectionException(Object
The bean that was to be manipulated bean, Field The field in the bean field)Constructor to specify the bean and field whose manipulation caused this exception. |
| public | CsvBeanIntrospectionException(Object
The bean that was to be manipulated bean, Field The field in the bean field, String Error message message)Constructor to provide all information connected to the error raised. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Field | Returns: The field in the bean that caused this exceptionGets the field from the Reflection API that was involved in the error. |
| public String | getLocalizedMessage()
Overrides java. Creates a localized description of this throwable. |
| public String | |
| private String |
| bean | back to summary |
|---|---|
| private final transient Object bean The bean that was acted upon. | |
| field | back to summary |
|---|---|
| private final transient Field field The field that was supposed to be manipulated in the bean. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| CsvBeanIntrospectionException | back to summary |
|---|---|
| public CsvBeanIntrospectionException() Nullary constructor. | |
| CsvBeanIntrospectionException | back to summary |
|---|---|
| public CsvBeanIntrospectionException(String message) Constructor with a human-readable error message.
| |
| CsvBeanIntrospectionException | back to summary |
|---|---|
| public CsvBeanIntrospectionException(Object bean, Field field) Constructor to specify the bean and field whose manipulation caused this exception. | |
| CsvBeanIntrospectionException | back to summary |
|---|---|
| public CsvBeanIntrospectionException(Object bean, Field field, String message) Constructor to provide all information connected to the error raised. | |
| getBean | back to summary |
|---|---|
| public Object getBean() Gets the bean that was to be introspected.
| |
| getField | back to summary |
|---|---|
| public Field getField() Gets the field from the Reflection API that was involved in the error.
| |
| getLocalizedMessage | back to summary |
|---|---|
| public String getLocalizedMessage() Overrides java. Doc from java. Creates a localized description of this throwable.
Subclasses may override this method in order to produce a
locale-specific message. For subclasses that do not override this
method, the default implementation returns the same result as
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Gets a human-readable error message. | |
| getMessageFromLocale | back to summary |
|---|---|
| private String getMessageFromLocale(Locale locale) | |