-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InstantiationException extends PrismException
Thrown when an object instantiation is needed but the serializer is unable to do so. This is not thrown to wrap exceptions thrown in constructors, it is specifically for errors when determining how to instantiate an object.
-
-
Constructor Summary
Constructors Constructor Description InstantiationException()InstantiationException(String message)InstantiationException(String message, Throwable cause)InstantiationException(Throwable cause)
-
Method Summary
Modifier and Type Method Description ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMessage
String getMessage()
-
-
-
-