|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
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 javax.servlet.jsp.JspException com.bea.p13n.servlets.jsp.JspException
public class JspException
An exception class that can print the embedded exception as
well. This class extends javax.servlet.jsp.JspException
and provides an extra constructor that takes embedded exception.
Constructor Summary | |
---|---|
JspException()
The default constructor. |
|
JspException(String message)
Constructs JspException by associating with the
given message. |
|
JspException(String message,
Throwable nestedException)
Constructs JspException by associating with the
given nested exception and a string message. |
|
JspException(Throwable nestedException)
Constructs JspException by associating with the
given nested exception. |
Method Summary | |
---|---|
void |
printStackTrace()
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
void |
printStackTrace(PrintStream out)
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
void |
printStackTrace(PrintWriter out)
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
Methods inherited from class javax.servlet.jsp.JspException |
---|
getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JspException()
public JspException(String message)
JspException
by associating with the
given message.
nestedException
- The nested exception.public JspException(Throwable nestedException)
JspException
by associating with the
given nested exception.
nestedException
- The nested exception.public JspException(String message, Throwable nestedException)
JspException
by associating with the
given nested exception and a string message.
message
- The additional information passed as a string.nestedException
- The nested exception.Method Detail |
---|
public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
out
- PrintStream used to output the stack tracepublic void printStackTrace(PrintWriter out)
printStackTrace
in class Throwable
out
- PrintWriter used to output the stack tracepublic void printStackTrace()
printStackTrace
in class Throwable
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |