Class RuntimeReflectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.reflect.RuntimeReflectionException
All Implemented Interfaces:
Serializable

public class RuntimeReflectionException extends RuntimeException
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 Details

    • RuntimeReflectionException

      public RuntimeReflectionException(String message, Throwable cause)
      Construct a new instance with the given message and cause.
      Parameters:
      message - the detail message
      cause - the underlying cause
    • RuntimeReflectionException

      public RuntimeReflectionException(Throwable cause)
      Construct a new instance with and cause.
      Parameters:
      cause - the underlying cause