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

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
clone, equals, finalize, 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.



Copyright © 2000-2003 GenerationJava. All Rights Reserved.