com.generationjava.collections.typed
Class IllegalTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.generationjava.collections.typed.IllegalTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class IllegalTypeException
- extends java.lang.RuntimeException
A runtime exception. It declares that code has been found
that is trying to pass an illegal type into a TypedStructure.
- See Also:
- Serialized Form
Method Summary |
java.lang.Class |
getType()
The Type that was illegal. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalTypeException
public IllegalTypeException(java.lang.Class type,
java.lang.Object instance)
IllegalTypeException
public IllegalTypeException(java.lang.Class type,
java.lang.Object instance,
java.lang.String msg)
getType
public java.lang.Class getType()
- The Type that was illegal.