uk.org.ogsadai.exception
Interface DAIExceptionInformation

All Known Subinterfaces:
ActivityException
All Known Implementing Classes:
ActivityAuthorizationException, ActivityConfigurationException, ActivityCreationException, ActivityExecutionException, ActivitySpecificationException, AuthorisationFaultException, DAIException, DAIUncheckedException, InternalFaultException, NonOGSADAIExceptionWrapper, UnsupportedActivityException

public interface DAIExceptionInformation

Interface for the information provided by OGSA-DAI exceptions.

Author:
The OGSA-DAI Project Team

Method Summary
 ErrorID getErrorID()
          Gets the error ID.
 DAIUniqueID getExceptionID()
          Gets the unique ID associated with this 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.
 boolean hasChild()
          Gets whether there is a child exception.
 

Method Detail

getErrorID

public ErrorID getErrorID()
Gets the error ID.

Returns:
the error ID.

getParameters

public java.lang.Object[] getParameters()
Gets the parameters associated with the error.

Returns:
the parameters accociated with the error. If there are no parameters associated with the error then the array length will be 0.

getExceptionID

public DAIUniqueID getExceptionID()
Gets the unique ID associated with this exception.

Returns:
the unique ID associated with the exception.

hasChild

public boolean hasChild()
Gets whether there is a child exception.

Returns:
true if there is a child exception, false otherwise.

getMessage

public java.lang.String getMessage()
Gets a message describing the error.

Returns:
message.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Gets a localized message describing the error.

Returns:
message.