|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.softwareag.centrasite.appl.framework.CSAppFrameworkException com.softwareag.centrasite.appl.framework.validation.ReadOnlyException
public class ReadOnlyException
This exception is thrown by the Validator
, if it has no other
possibility to report that an object is read-only.
Constructor Summary | |
---|---|
ReadOnlyException(java.lang.Object pSource,
ErrorCode pErrorCode,
java.lang.String pErrorMessage,
java.lang.Object[] pDetails)
Creates a new instance. |
Method Summary | |
---|---|
ErrorCode |
getErrorCode()
Returns the error code. |
java.lang.Object[] |
getErrorDetails()
Returns the error details, suitable for Formatter.format(String, Object...) . |
java.lang.String |
getErrorMessage()
Returns the error message, a format string suitable for Formatter.format(String, Object...) . |
java.lang.Object |
getSource()
Returns the source object, which was found to be read-only. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadOnlyException(java.lang.Object pSource, ErrorCode pErrorCode, java.lang.String pErrorMessage, java.lang.Object[] pDetails)
pSource
- The source object, which was found to be read-only.pErrorCode
- The error codepErrorMessage
- The error message, a format string suitable for
Formatter.format(String, Object...)
.pDetails
- The error details, suitable for
Formatter.format(String, Object...)
.Method Detail |
---|
public java.lang.Object getSource()
public ErrorCode getErrorCode()
public java.lang.String getErrorMessage()
Formatter.format(String, Object...)
.
public java.lang.Object[] getErrorDetails()
Formatter.format(String, Object...)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |