| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.ServletException
org.apache.jetspeed.portlet.PortletException
public class PortletException
The PortletException class defines a general exception that a portlet can throw when it encounters difficulty.
Constructor Summary | |
---|---|
PortletException()
Constructs a new portlet exception. | |
PortletException(java.lang.String text)
Constructs a new portlet exception with the given text. | |
PortletException(java.lang.String text,
java.lang.Throwable cause)
Constructs a new portlet exception when the portlet needs to throw an exception and include a message about the "root case" that interfered with its normal operation, including a description message. | |
PortletException(java.lang.Throwable cause)
Constructs a new portlet exception when the portlet needs to throw an exception. |
Method Summary | |
---|---|
void | printStackTrace()
Prints the stack trace of this exception to the standard error stream. |
void | java.io.PrintStream)">printStackTrace(java.io.PrintStream out)
Prints the stack trace of this exception to the specified print stream. |
void | java.io.PrintWriter)">printStackTrace(java.io.PrintWriter out)
Prints the stack trace of this exception to the specified print writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortletException()
public PortletException(java.lang.String text)
public PortletException(java.lang.String text, java.lang.Throwable cause)
public PortletException(java.lang.Throwable cause)
Method Detail |
---|
public void printStackTrace()
public void printStackTrace(java.io.PrintStream out)
PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter out)
PrintWriter
to use for output.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |