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 java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
byte |
getType()
Gets the type of the closure. |
type
private byte type
- the type of the closure
MSG
private static final String MSG
- the core message
- See Also:
- Constant Field Values
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