|
|||||||||||
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 | +--uk.org.ogsadai.exception.AuthorisationFaultException
Exception wrapping server-side OGSA-DAI problems which are destined for clients.
This can be viewed as equivalent to AuthorisationFaultType
at the service level but is for cases where client-bound exceptions
are communicated by another means (for example by a servlet). This
should not be wrapped in any other OGSA-DAI exception.
Associated with error ID:
uk.org.ogsadai.AUTHORISATION_FAULT
.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static ErrorID |
ERROR_ID
ErrorID |
private java.lang.String |
mLocalizedMessage
Localized message |
private java.lang.String |
mMessage
Message |
private java.lang.Object[] |
mParameters
Parameters |
private DAIUniqueID |
mUniqueID
Unique ID |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
AuthorisationFaultException(DAIAuthorizationException cause)
Constructor. |
Method Summary | |
ErrorID |
getErrorID()
Gets the error ID of this type of exception. |
DAIUniqueID |
getExceptionID()
Gets the unique ID associated with the server-side exception. |
java.lang.String |
getLocalizedMessage()
Gets a localized message describing the error. |
java.lang.String |
getMessage()
Gets a message describing the error. |
java.lang.Object[] |
getParameters()
Gets the parameters associated with the error - a one-element array containing the unique exception ID. |
boolean |
hasChild()
Gets whether there is a child exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final ErrorID ERROR_ID
private java.lang.Object[] mParameters
private java.lang.String mMessage
private java.lang.String mLocalizedMessage
private DAIUniqueID mUniqueID
Constructor Detail |
public AuthorisationFaultException(DAIAuthorizationException cause)
cause
- Cause of the problem. This provides the unique ID to be
sent held within this exception's messages.Method Detail |
public java.lang.String getLocalizedMessage()
DAIExceptionInformation
getLocalizedMessage
in interface DAIExceptionInformation
getLocalizedMessage
in class java.lang.Throwable
public java.lang.String getMessage()
DAIExceptionInformation
getMessage
in interface DAIExceptionInformation
getMessage
in class java.lang.Throwable
public DAIUniqueID getExceptionID()
getExceptionID
in interface DAIExceptionInformation
public ErrorID getErrorID()
getErrorID
in interface DAIExceptionInformation
public java.lang.Object[] getParameters()
getParameters
in interface DAIExceptionInformation
public boolean hasChild()
hasChild
in interface DAIExceptionInformation
false
always.DAIExceptionInformation.hasChild()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |