chesspresso.pgn
Class PGNSyntaxError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--chesspresso.pgn.PGNSyntaxError
- All Implemented Interfaces:
- java.io.Serializable
- public class PGNSyntaxError
- extends java.lang.Exception
Represents PGN syntax errors (and warnings).
- Version:
- $Revision: 1.1 $
- Author:
- Bernhard Seybold
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Constructor Summary |
PGNSyntaxError(int severity,
java.lang.String msg,
java.lang.String filename,
int lineNumber,
java.lang.String lastToken)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
MESSAGE
public static final int MESSAGE
- See Also:
- Constant Field Values
PGNSyntaxError
public PGNSyntaxError(int severity,
java.lang.String msg,
java.lang.String filename,
int lineNumber,
java.lang.String lastToken)
getSeverity
public int getSeverity()
getFilename
public java.lang.String getFilename()
getLineNumber
public int getLineNumber()
getLastToken
public java.lang.String getLastToken()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable