|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.ocl.ParserException
org.eclipse.ocl.SyntaxException
public class SyntaxException
Exception indicating a syntax error in parsing OCL expressions.
Constructor Summary | |
---|---|
SyntaxException(java.lang.String msg)
Initializes me with a user-friendly message describing the nature of the parse failure. |
|
SyntaxException(java.lang.String msg,
java.lang.Throwable cause)
Initializes me with a message and an exception that caused the parse failure. |
Method Summary |
---|
Methods inherited from class org.eclipse.ocl.ParserException |
---|
getDiagnostic |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyntaxException(java.lang.String msg)
msg
- the exception messagepublic SyntaxException(java.lang.String msg, java.lang.Throwable cause)
msg
- my user-friendly messagecause
- the cause of the parse failure
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |