public class SyntaxException extends ParserException
Constructor and Description |
---|
SyntaxException(Diagnostic problem)
Initializes me with a diagnostic obtained from a problem handler.
|
SyntaxException(String msg)
Initializes me with a user-friendly message describing the nature of
the parse failure.
|
SyntaxException(String msg,
Throwable cause)
Initializes me with a message and an exception that caused the parse
failure.
|
getDiagnostic
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SyntaxException(String msg)
msg
- the exception messagepublic SyntaxException(String msg, Throwable cause)
msg
- my user-friendly messagecause
- the cause of the parse failurepublic SyntaxException(Diagnostic problem)
problem
- the diagnosticCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.