java.io.Serializable
public class ReadOnlyException extends PortletException
ReadOnlyException
is thrown when a portlet tries
to change the value for a read-only preference attribute.Modifier | Constructor | Description |
---|---|---|
private |
ReadOnlyException() |
|
|
ReadOnlyException(java.lang.String text) |
Constructs a new read-only exception with the given text.
|
|
ReadOnlyException(java.lang.String text,
java.lang.Throwable cause) |
Constructs a new read-only exception when the portlet needs to do
the following:
|
|
ReadOnlyException(java.lang.Throwable cause) |
Constructs a new read-only exception when the portlet needs to throw an
exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCause, printStackTrace, printStackTrace, printStackTrace
private ReadOnlyException()
public ReadOnlyException(java.lang.String text)
text
- the exception textpublic ReadOnlyException(java.lang.String text, java.lang.Throwable cause)
text
- the exception textcause
- the root causepublic ReadOnlyException(java.lang.Throwable cause)
cause
- the root cause