Class IntrospectionError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.assertj.core.util.introspection.IntrospectionError
- All Implemented Interfaces:
Serializable
Error that occurred when using JavaBeans
Introspection.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ThrowableThis (nullable) field holds the original Exception thrown by the tested code during the invocation of a getter/accessor method.private static final long -
Constructor Summary
ConstructorsConstructorDescriptionIntrospectionError(String message) Creates a new.IntrospectionErrorIntrospectionError(String message, Throwable cause) Creates a new.IntrospectionErrorIntrospectionError(String message, Throwable cause, Throwable getterInvocationException) Creates a new.IntrospectionError -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
getterInvocationException
This (nullable) field holds the original Exception thrown by the tested code during the invocation of a getter/accessor method. This allows us to reference or rethrow it if alternative means of resolving the field are unsuccessful.
-
-
Constructor Details
-
IntrospectionError
Creates a new.IntrospectionError- Parameters:
message- the detail message.
-
IntrospectionError
Creates a new.IntrospectionError- Parameters:
message- the detail message.cause- the original cause.
-
IntrospectionError
Creates a new.IntrospectionError- Parameters:
message- the detail message.cause- the original cause.getterInvocationException- the original exception thrown by the tested code.
-
-
Method Details
-
getterInvocationException
-