|
Copyright © 2000, 2008, 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
javax.portlet.PortletSecurityException
public class PortletSecurityException
A portlet should throw a PortletSecurityException
when a call fails because of security reasons.
Additionally it can be thrown by the portal/portlet-container.
| Constructor Summary | |
|---|---|
PortletSecurityException(String text)
Constructs a new security exception with the given text. |
|
PortletSecurityException(String text,
Throwable cause)
Constructs a new portlet security exception when the portlet needs to do the following: |
|
PortletSecurityException(Throwable cause)
Constructs a new portlet security 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 PortletSecurityException(String text)
text - the exception text
public PortletSecurityException(String text,
Throwable cause)
text - the exception textcause - the root causepublic PortletSecurityException(Throwable cause)
cause - the root cause
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||