|
Tea Java Runtime API Version 3.2.4 |
|||||||
| 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.pdmfc.tea.STeaException
com.pdmfc.tea.runtime.SRuntimeException
public class SRuntimeException
Signals an abnormal condition while running a Tea script. An SRuntimeException mantains a list of the messages being generated as the call stack unrolls.
| Constructor Summary | |
|---|---|
SRuntimeException(java.lang.Object arg0,
java.lang.String msg)
Initializes the message from the zeroth argument of a command and from an error message. |
|
SRuntimeException(java.lang.Object arg0,
java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
|
|
SRuntimeException(java.lang.String msg)
These exceptions are thrown while executing a Tea script and represents abnormal conditions. |
|
SRuntimeException(java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
|
|
SRuntimeException(java.lang.Throwable e)
Initializes the message with the same message as the exception given as argument. |
|
| Method Summary | |
|---|---|
void |
addMessage(java.lang.String msg)
Adds a message to the end of the message list. |
void |
addMessage(java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
|
java.lang.String |
getFullMessage()
Builds a String containing the text of all the messages on the message list. |
| Methods inherited from class com.pdmfc.tea.STeaException |
|---|
getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 SRuntimeException(java.lang.String msg)
public SRuntimeException(java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
public SRuntimeException(java.lang.Throwable e)
e - An java.lang.Exception from where the message
will be retrieved.
public SRuntimeException(java.lang.Object arg0,
java.lang.String msg)
arg0 - The zeroth argument of a command.msg - A string with an error message.
public SRuntimeException(java.lang.Object arg0,
java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
| Method Detail |
|---|
public void addMessage(java.lang.String msg)
msg - Text of the message to be added at the end of the
message list.
public void addMessage(java.lang.String msgFmt,
java.lang.Object[] fmtArgs)
public java.lang.String getFullMessage()
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||