|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.slamd.scripting.engine.ScriptException
com.sun.slamd.scripting.engine.StopRunningException
This class defines an exception that will be thrown if the script should stop running. It will be propogated all the way up to the parser and will therefore cause the script to stop running immediately.
| Constructor Summary | |
StopRunningException(int lineNumber)
Creates a new stop running exception. |
|
StopRunningException(int lineNumber,
java.lang.Exception parentException)
Creates a new stop running exception. |
|
StopRunningException(int lineNumber,
java.lang.String message)
Creates a new stop running exception with the specifed message. |
|
StopRunningException(int lineNumber,
java.lang.String message,
java.lang.Exception parentException)
Creates a new stop running exception with the specifed message. |
|
StopRunningException(java.lang.String message)
Creates a new stop running exception with the specified message. |
|
StopRunningException(java.lang.String message,
java.lang.Exception parentException)
Creates a new stop running exception with the specified message. |
|
| Method Summary | |
java.lang.Exception |
getParentException()
Retrieves the parent exception that triggered this stop running exception. |
| 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 StopRunningException(java.lang.String message)
message - The message that explains the cause of the exception.
public StopRunningException(java.lang.String message,
java.lang.Exception parentException)
message - The message that explains the cause of the
exception.parentException - The parent exception that triggered this stop
running exception.public StopRunningException(int lineNumber)
lineNumber - The line number of the script that generated the
exception.
public StopRunningException(int lineNumber,
java.lang.Exception parentException)
lineNumber - The line number of the script that generated the
exception.parentException - The parent exception that triggered this stop
running exception.
public StopRunningException(int lineNumber,
java.lang.String message)
lineNumber - The line number of the script that generated the
exception.message - The message that explains the cause of the exception.
public StopRunningException(int lineNumber,
java.lang.String message,
java.lang.Exception parentException)
lineNumber - The line number of the script that generated the
exception.message - The message that explains the cause of the
exception.parentException - The parent exception that triggered this stop
running exception.| Method Detail |
public java.lang.Exception getParentException()
getParentException in class ScriptExceptionnull if no parent exception is available.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||