public class ReadOnlyException extends PortletException
ReadOnlyException
is thrown when a portlet tries
to change the value for a read-only preference attribute.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Modifier | Constructor and 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.
|
private static final long serialVersionUID
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