|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.extex.ocpware.exception.OcpException
org.extex.ocpware.compiler.exception.SyntaxException
org.extex.ocpware.compiler.exception.UnexpectedException
public class UnexpectedException
This exception class signals the occurrence of a syntax error.
| Constructor Summary | |
|---|---|
UnexpectedException(java.lang.String unexpected,
java.lang.CharSequence line,
int lineno)
Creates a new object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, 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 UnexpectedException(java.lang.String unexpected,
java.lang.CharSequence line,
int lineno)
unexpected - the unexpected idline - the current line up to the last character readlineno - the number of the current line| Method Detail |
|---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage in class SyntaxExceptionThrowable.getLocalizedMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||