Class ReflexionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.derklaro.reflexion.ReflexionException
- All Implemented Interfaces:
Serializable
Represents a custom runtime exception which is exclusively thrown by methods in this library to make it easier to
catch them rather than having general exception types.
- Since:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReflexionException(@NotNull String message) Constructs a new reflexion exception instance.ReflexionException(@NotNull Throwable cause) Constructs a new reflexion exception instance. -
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:
-
-
Constructor Details
-
ReflexionException
Constructs a new reflexion exception instance.- Parameters:
message- the message of the exception.- Throws:
NullPointerException- if the given message is null.
-
ReflexionException
Constructs a new reflexion exception instance.- Parameters:
cause- the cause why the exception was thrown.- Throws:
NullPointerException- if the given cause is null.
-