Package org.objenesis
Class ObjenesisException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.objenesis.ObjenesisException
- All Implemented Interfaces:
Serializable
Exception thrown by Objenesis. It wraps any instantiation exceptions. Note that this exception is
runtime to prevent having to catch it.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObjenesisException
(String msg) ObjenesisException
(String msg, Throwable cause) ObjenesisException
(Throwable cause) -
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
-
ObjenesisException
- Parameters:
msg
- Error message
-
ObjenesisException
- Parameters:
cause
- Wrapped exception. The message will be the one of the cause.
-
ObjenesisException
- Parameters:
msg
- Error messagecause
- Wrapped exception
-