|
||||||||||
| 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.lang.RuntimeException
jfun.parsec.UserException
public class UserException
User code can throw this exception when a non-recoverable error is encountered. The framework will transform it to ParserException.
Zephyr Business Solutions Corp.
| Constructor Summary | |
|---|---|
UserException(int ind)
Create a UserException object. |
|
UserException(int ind,
java.lang.String msg)
Create a UserException object. |
|
UserException(int ind,
java.lang.String msg,
java.lang.Throwable arg1)
Create a UserException object. |
|
UserException(int ind,
java.lang.Throwable arg0)
Create a UserException object. |
|
UserException(java.lang.String msg)
Create a UserException object. |
|
UserException(java.lang.String msg,
java.lang.Throwable cause)
Create a UserException object. |
|
| Method Summary | |
|---|---|
int |
getInd()
Get the index in the original source. |
| 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 UserException(java.lang.String msg)
msg - the error message.
public UserException(java.lang.String msg,
java.lang.Throwable cause)
msg - the error message.public UserException(int ind)
ind - the index in the original source.
-1 if the index is unknown.
public UserException(int ind,
java.lang.String msg)
ind - the index in the original source.
-1 if the index is unknown.msg - the error message.
public UserException(int ind,
java.lang.String msg,
java.lang.Throwable arg1)
ind - the index in the original source.
-1 if the index is unknown.msg - the error message.arg1 - the chained exception.
public UserException(int ind,
java.lang.Throwable arg0)
ind - the index in the original source.
-1 if the index is unknown.arg0 - the chained exception.| Method Detail |
|---|
public int getInd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||