| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.portlet.PortletException
The PortletException class defines a general exception
 that a portlet can throw when it is unable to perform its operation
 successfully.
| 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 do the following: throw an exception include the "root cause" exception include a description message | |
| PortletException(java.lang.Throwable cause)Constructs a new portlet exception when the portlet needs to throw an exception. | |
| Method Summary | |
|  java.lang.Throwable | getCause()Returns the cause of this throwable or nullif the
 cause is nonexistent or unknown. | 
|  void | printStackTrace()Prints the stack trace of this exception to the standard error stream. | 
|  void | printStackTrace(java.io.PrintStream out)Prints the stack trace of this exception to the specified print stream. | 
|  void | printStackTrace(java.io.PrintWriter out)Prints the stack trace of this exception to the specified print writer. | 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, 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 PortletException()
public PortletException(java.lang.String text)
text - the exception text
public PortletException(java.lang.String text,
                        java.lang.Throwable cause)
text - the exception textcause - the root causepublic PortletException(java.lang.Throwable cause)
cause - the root cause| Method Detail | 
public void printStackTrace()
public void printStackTrace(java.io.PrintStream out)
out - the PrintStream to be used for outputpublic void printStackTrace(java.io.PrintWriter out)
out - the PrintWriter to be used for outputpublic java.lang.Throwable getCause()
null if the
 cause is nonexistent or unknown.  (The cause is the throwable that
 caused this throwable to get thrown.)
 This implementation returns the cause that was supplied via one of the constructors requiring a Throwable.
null if the
          cause is nonexistent or unknown.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||