-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InvalidTypeException extends PrismException
Thrown when a type is for some reason unserializable (e.g. it isn't concrete, there's no valid constructor, etc.). This is distinct from IllegalTypeException, which is thrown when something is passed an inappropriate type (e.g. passing the
Stringtype to aListAnalyzer).
-
-
Constructor Summary
Constructors Constructor Description InvalidTypeException()InvalidTypeException(String message)InvalidTypeException(String message, Throwable cause)InvalidTypeException(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()
-
-
-
-