org.eclipse.ocl
Class SemanticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.ocl.ParserException
org.eclipse.ocl.SemanticException
- All Implemented Interfaces:
- Serializable
public class SemanticException
- extends ParserException
Exception indicating a semantic error in parsing or validating OCL
expressions.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SemanticException
public SemanticException(String msg)
- Initializes me with a user-friendly message describing the nature of
the parse failure.
- Parameters:
msg
- the exception message
SemanticException
public SemanticException(String msg,
Throwable cause)
- Initializes me with a message and an exception that caused the parse
failure.
- Parameters:
msg
- my user-friendly messagecause
- the cause of the parse failure