uk.org.ogsadai.engine
Class RequestSpecificationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.engine.RequestSpecificationException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class RequestSpecificationException
extends DAIException

There was an error during the execution of the request that was caused by information in the request.

Associated with error code: uk.org.ogsadai.REQUEST_SPECIFICATION_EXCEPTION. and uk.org.ogsadai.REQUEST_SPECIFICATION_PARTIAL_RESPONSE_EXCEPTION.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  java.lang.String mResponse
          Response document
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
RequestSpecificationException(java.lang.Throwable cause)
          Constructor.
RequestSpecificationException(java.lang.Throwable cause, java.lang.String response)
          Constructor.
 
Method Summary
 java.lang.String getResponse()
          Get the response document containing information on a partially completed request.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
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

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mResponse

private java.lang.String mResponse
Response document

Constructor Detail

RequestSpecificationException

public RequestSpecificationException(java.lang.Throwable cause)
Constructor.

Parameters:
cause - Cause of the problem.

RequestSpecificationException

public RequestSpecificationException(java.lang.Throwable cause,
                                     java.lang.String response)
Constructor.

Parameters:
cause - Cause of the problem.
response - Response document containing information on a partially completed request.
Method Detail

getResponse

public java.lang.String getResponse()
Get the response document containing information on a partially completed request.

Returns:
response document or null if none.