|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| 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
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 | |
|---|---|
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 |
|---|
getCause, getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| 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)
theErrorLocation - A string describing the error.
public AbleParException()
public AbleParException(java.lang.String theErrorMessage,
java.lang.Throwable theException)
theErrorMessage - theException - the causal exception
public 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 problem
public 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 problem
public 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 AbleExceptionpublic int getColumn()
public int getLine()
public void setColumn(int column)
column - The column to setpublic void setLine(int line)
line - The line to set
public void setPoint(int line,
int column)
line - The line to setcolumn - The column to setpublic void setToken(java.lang.String theToken)
theToken - public java.lang.String getToken()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||