com.generationjava.collections.typed
Class IllegalTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
IllegalTypeException(java.lang.Class type, java.lang.Object instance)
           
IllegalTypeException(java.lang.Class type, java.lang.Object instance, java.lang.String msg)
           
 
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
 

Constructor Detail

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)
Method Detail

getType

public java.lang.Class getType()
The Type that was illegal.