gi
Class Lexicon.Exception
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--gi.Lexicon.Exception
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Lexicon
- protected class Lexicon.Exception
- extends Exception
This class implements an Exception
.
- Version:
- 0.9
- Author:
- © 1999-2000 Craig A. Rich <carich@acm.org>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
message
private StringBuffer message
The extended error message.
Lexicon.Exception
public Lexicon.Exception(String message)
Constructs an Exception
with a message.
- Parameters:
message
- the error message.
extend
Lexicon.Exception extend(BufferedReader source)
Extends the error message in this Exception
. The extended message includes the line number, message and source characters following the error.
- Parameters:
source
- the source character stream.- Returns:
- this
Exception
with an extended message.
getMessage
public String getMessage()
Returns the error message.
- Overrides:
getMessage
in class Throwable
© 1999-2000 Craig A. Rich <carich@acm.org>