-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InvalidSpecializationException extends MirrorException
Thrown when attempting to specialize a mirror with invalid types.
For example, specializing
List[]with a component type ofStringinstead of something likeList<String>.Stringisn't a specialization of the raw component,List, butList<String>is.
-
-
Constructor Summary
Constructors Constructor Description InvalidSpecializationException()InvalidSpecializationException(String message)InvalidSpecializationException(String message, Throwable cause)InvalidSpecializationException(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()
-
-
-
-