Class SyntaxException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--SyntaxException
- All Implemented Interfaces:
- Serializable
- public class SyntaxException
- extends Exception
Simple Exception class for reporting syntax errors found
by the Parser.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SyntaxException
public SyntaxException()
- Create a new SyntaxException with no information.
SyntaxException
public SyntaxException(String s)
- Create a new SyntaxException with a description.
- Parameters:
s
- the descriptive string