public class ReadOnlyException extends PortletException
ReadOnlyException is thrown when a portlet tries
to change the value for a read-only preference attribute.| Constructor and Description |
|---|
ReadOnlyException(String text)
Constructs a new read-only exception with the given text.
|
ReadOnlyException(String text,
Throwable cause)
Constructs a new read-only exception when the portlet needs to do
the following:
|
ReadOnlyException(Throwable cause)
Constructs a new read-only exception when the portlet needs to throw an
exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ReadOnlyException(String text)
text - the exception textpublic ReadOnlyException(String text, Throwable cause)
text - the exception textcause - the root causepublic ReadOnlyException(Throwable cause)
cause - the root causeJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.