org.eclipse.ocl
Class ParserException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
org.eclipse.ocl.ParserException
- All Implemented Interfaces: 
 - Serializable
 
- Direct Known Subclasses: 
 - SemanticException
 
public class ParserException
- extends Exception
 
Exception indicating a failure to parse or validate OCL constraints.
- See Also:
 - Serialized Form
 
| 
Constructor Summary | 
ParserException(String msg)
 
          Initializes me with a user-friendly message describing the nature of
 the parse failure. | 
ParserException(String msg,
                Throwable cause)
 
          Initializes me with a message and an exception that caused the parse
 failure. | 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
ParserException
public ParserException(String msg)
- Initializes me with a user-friendly message describing the nature of
 the parse failure.
- Parameters:
 msg - the exception message
 
ParserException
public ParserException(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