|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--FESI.jslib.JSException
Thrown when the EcmaScript interpreter detect an error. Package the message of the EcmaScriptException (or other exception) which was generated.
| Constructor Summary | |
|---|---|
JSException(java.lang.String s)
Constructs a JSException with the
specified detail message. |
|
JSException(java.lang.String s,
java.lang.Throwable originatingException)
Constructs a JSException with the
specified detail message, but refereing to the
original exception |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getOriginatingException()
Get the originating exception (if any) or null. |
void |
printStackTrace()
Prints this Throwable and its backtrace to the
standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the
specified print stream. |
void |
printStackTrace(java.io.PrintWriter w)
Prints this Throwable and its backtrace to the specified
print writer. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JSException(java.lang.String s)
JSException with the
specified detail message.
s - the detail message.
public JSException(java.lang.String s,
java.lang.Throwable originatingException)
JSException with the
specified detail message, but refereing to the
original exception
s - the detail message.originatingException - Originating exception| Method Detail |
public java.lang.Throwable getOriginatingException()
public void printStackTrace()
Throwable and its backtrace to the
standard error stream.
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
Throwable and its backtrace to the
specified print stream.
printStackTrace in class java.lang.Throwables - PrintStream for printing the stack trace.public void printStackTrace(java.io.PrintWriter w)
Throwable and its backtrace to the specified
print writer.
printStackTrace in class java.lang.Throwablew - PrintStream for printing the stack trace.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||