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
Method Summary |
byte |
getType()
Gets the type of the closure. |
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
getType
public byte getType()
- Gets the type of the closure.
- Returns:
- the type of the closure