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: throw an exception
include a message about the "root cause" that interfered with its normal operationinclude a description
message
|
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 causeCopyright © 2003-2019 GateIn. All Rights Reserved.