|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.servlet.jsp.JspException | +--com.iphrase.onestep.exception.LayoutsException
A generic exception thrown when an error accured during the query processing and results rendering.
Constructor Summary | |
LayoutsException()
Constructs a new LayoutsException |
|
LayoutsException(java.lang.String message)
Constructs a new LayoutsException exception with a given error message. |
|
LayoutsException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new LayoutsException exception when the Layouts need to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message. |
|
LayoutsException(java.lang.Throwable cause)
Constructs a new LayoutsException exception when the Layouts need to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns cause exception |
static java.lang.String |
getHtmlStackTrace(java.lang.Exception e)
Returns a stack trace string for displaying in a HTML page for a given exception. |
static java.lang.Throwable |
getRootCause(java.lang.Exception e)
Returns the root cause exception for e or null if e doesn't have a cause. |
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 s)
Prints this throwable and its backtrace to the specified print writer. |
void |
setCause(java.lang.Throwable cause)
Sets the cause of this LayoutsException to the specified value. |
Methods inherited from class javax.servlet.jsp.JspException |
getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LayoutsException()
public LayoutsException(java.lang.String message)
message
- a detail message.public LayoutsException(java.lang.String message, java.lang.Throwable cause)
message
- a detail message.cause
- a Throwable caused this LayoutsExceptiongetCause()
public LayoutsException(java.lang.Throwable cause)
cause
- a Throwable caused this LayoutsExceptiongetCause()
Method Detail |
public void setCause(java.lang.Throwable cause)
cause
- a Throwable caused this LayoutsExceptiongetCause()
public java.lang.Throwable getCause()
public void printStackTrace()
System.err
.printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputpublic static java.lang.Throwable getRootCause(java.lang.Exception e)
e
or null if e
doesn't have a cause.e
- the last exception in the exception chainpublic static java.lang.String getHtmlStackTrace(java.lang.Exception e)
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |