|
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.Objectjava.lang.Throwable
java.lang.Exception
javax.portlet.PortletException
public class 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(String text)
Constructs a new portlet exception with the given text. |
|
PortletException(String text,
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(Throwable cause)
Constructs a new portlet exception when the portlet needs to throw an exception. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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(String text)
text - the exception text
public PortletException(String text,
Throwable cause)
text - the exception textcause - the root causepublic PortletException(Throwable cause)
cause - the root cause
|
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 | ||||||||