Package org.kiwiproject.reflect
Class RuntimeReflectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.reflect.RuntimeReflectionException
- All Implemented Interfaces:
Serializable
A custom runtime exception for wrapping (checked or unchecked) exceptions related to reflection.
There are no restrictions on the wrapped Throwable, but the intent is that they should be
some checked or unchecked exception that was thrown by a reflective operation, e.g. reflectively
finding or invoking a method, or accessing a field.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeReflectionException(String message, Throwable cause) Construct a new instance with the given message and cause.Construct a new instance with and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeReflectionException
Construct a new instance with the given message and cause.- Parameters:
message- the detail messagecause- the underlying cause
-
RuntimeReflectionException
Construct a new instance with and cause.- Parameters:
cause- the underlying cause
-