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

Field Summary
private static String MSG
          the core message
private  byte type
          the type of the closure
 
Fields inherited from class gate.util.GateException
DEBUG, e
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

type

private byte type
the type of the closure

MSG

private static final String MSG
the core message
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