public class SemanticException extends ParserException
Constructor and Description |
---|
SemanticException(org.eclipse.emf.common.util.Diagnostic problem)
Initializes me with a diagnostic obtained from a problem handler.
|
SemanticException(java.lang.String msg)
Initializes me with a user-friendly message describing the nature of
the parse failure.
|
SemanticException(java.lang.String msg,
java.lang.Throwable cause)
Initializes me with a message and an exception that caused the parse
failure.
|
getDiagnostic
public SemanticException(java.lang.String msg)
msg
- the exception messagepublic SemanticException(java.lang.String msg, java.lang.Throwable cause)
msg
- my user-friendly messagecause
- the cause of the parse failurepublic SemanticException(org.eclipse.emf.common.util.Diagnostic problem)
problem
- the diagnostic