gate.creole.ontology
Class NoSuchClosureTypeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--gate.util.GateException
                    |
                    +--gate.creole.ontology.NoSuchClosureTypeException
All Implemented Interfaces:
Serializable

public class NoSuchClosureTypeException
extends GateException

NoSuchClosureTypeException
thrown whenever a closure type mismatch ocurrs

See Also:
Serialized Form

Constructor Summary
NoSuchClosureTypeException()
          Constructs a new blank exception
NoSuchClosureTypeException(byte aType)
          Constructs the exception given the type of the closure.
 
Method Summary
 byte getType()
          Gets the type of the closure.
 
Methods inherited from class gate.util.GateException
printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchClosureTypeException

public NoSuchClosureTypeException()
Constructs a new blank exception


NoSuchClosureTypeException

public NoSuchClosureTypeException(byte aType)
Constructs the exception given the type of the closure.

Parameters:
aType - the type of the closure
Method Detail

getType

public byte getType()
Gets the type of the closure.

Returns:
the type of the closure