|
||||||||||
| 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
public class SyntaxException
This exception class signals the occurrence of a syntax error.
| Constructor Summary | |
|---|---|
protected |
SyntaxException()
Creates a new object. |
|
SyntaxException(java.lang.CharSequence line,
int lineno)
Creates a new object. |
|
SyntaxException(int found,
java.lang.CharSequence line,
int lineno)
Creates a new object. |
|
SyntaxException(int found,
int expected,
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 |
|---|
protected SyntaxException()
public SyntaxException(java.lang.CharSequence line,
int lineno)
line - the current line up to the last character readlineno - the number of the current line
public SyntaxException(int found,
java.lang.CharSequence line,
int lineno)
found - the character found; negative values indicate EOFline - the current line up to the last character readlineno - the number of the current line
public SyntaxException(int found,
int expected,
java.lang.CharSequence line,
int lineno)
found - the character found; negative values indicate EOFexpected - the expected characterline - 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 OcpExceptionThrowable.getLocalizedMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||