|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.io.IOException | +--java.rmi.RemoteException | +--com.ibm.able.AbleException | +--com.ibm.able.rules.AbleParException
This class defines the Able rule Parser exception.
Field Summary | |
---|---|
int |
column
The column number in the line from the text file which contains the problem. |
int |
line
The line number from the text file which contains the problem. |
java.lang.String |
token
The token causing the parsing error. |
Fields inherited from class com.ibm.able.AbleException |
---|
myMessageContainer, object, severity |
Fields inherited from class java.rmi.RemoteException |
---|
detail |
Constructor Summary | |
---|---|
AbleParException()
Create a new parser exception. |
|
AbleParException(java.lang.String theErrorLocation)
Create a new parser exception. |
|
AbleParException(java.lang.String theErrorMessage,
java.util.Collection collection)
Create a collection of AbleParException's. |
|
AbleParException(java.lang.String theErrorMessage,
int theLine,
int theColumn,
java.lang.String theToken)
Create a new parser exception. |
|
AbleParException(java.lang.String theErrorMessage,
java.lang.Throwable theException)
Create a new parser exception based on another exception. |
|
AbleParException(java.lang.String theErrorMessage,
java.lang.Throwable theException,
int theLine,
int theColumn,
java.lang.String theToken)
Create a new parser exception. |
Method Summary | |
---|---|
static java.lang.String |
Copyright()
Determine the copyright of this class. |
int |
getColumn()
Returns the column. |
int |
getLine()
Returns the line. |
java.lang.String |
getToken()
Method getToken. |
void |
setColumn(int column)
Sets the column. |
void |
setLine(int line)
Sets the line. |
void |
setPoint(int line,
int column)
Sets the line and column. |
void |
setToken(java.lang.String theToken)
Method setToken. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
Methods inherited from class com.ibm.able.AbleException |
---|
getExceptionBeans, getExceptions, getLocalizedMessage, getMessageContainer, getObject, getSeverity, hasMessageContainer, setObject, setSeverity |
Methods inherited from class java.rmi.RemoteException |
---|
getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int line
public int column
public java.lang.String token
Constructor Detail |
public AbleParException(java.lang.String theErrorLocation)
theErrorMessage
- A string describing the error.
public AbleParException()
public AbleParException(java.lang.String theErrorMessage, java.lang.Throwable theException)
theErrorMessage
- theException
- the causal exceptionpublic AbleParException(java.lang.String theErrorMessage, int theLine, int theColumn, java.lang.String theToken)
theErrorMessage
- theLine
- the line number from the text file which contains the problemtheColumn
- the column number from the text file which contains the problempublic AbleParException(java.lang.String theErrorMessage, java.lang.Throwable theException, int theLine, int theColumn, java.lang.String theToken)
theErrorMessage
- theException
- the causal exceptiontheLine
- the line number from the text file which contains the problemtheColumn
- the column number from the text file which contains the problempublic AbleParException(java.lang.String theErrorMessage, java.util.Collection collection)
theErrorMessage
- collection
- A set of parse exceptions typically obtained by parsing a ruleset.Method Detail |
public java.lang.String toString()
toString
in class AbleException
public int getColumn()
public int getLine()
public void setColumn(int column)
column
- The column to setpublic void setLine(int line)
line
- The line to setpublic void setPoint(int line, int column)
line
- The line to setcolumn
- The column to setpublic void setToken(java.lang.String theToken)
lclToken
- public java.lang.String getToken()
public static java.lang.String Copyright()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |