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.
|
getDiagnosticaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2015 Open eHealth Foundation. All rights reserved.