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