public class ReadOnlyException extends PortletException
ReadOnlyException
is thrown when a portlet tries
to change the value for a read-only preference attribute.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.
|
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