gate.creole.ontology
Class NoSuchClosureTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bygate.util.GateException
              extended bygate.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
e
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

private byte type
the type of the closure


MSG

private static final String MSG
the core message

See Also:
Constant Field Values
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