uk.org.ogsadai.client.toolkit.properties
Class RequestStatusException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.client.toolkit.exception.DAIException
                    |
                    +--uk.org.ogsadai.client.toolkit.properties.RequestStatusException
All Implemented Interfaces:
java.io.Serializable

public class RequestStatusException
extends DAIException

Exception thrown when the status of a request indicates that the request is not progressing correctly.

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

Constructor Summary
RequestStatusException(RequestStatus status, org.apache.log4j.Logger logger)
          Constructor.
 
Method Summary
 RequestStatus getStatus()
          Gets the status of the request.
 
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

RequestStatusException

public RequestStatusException(RequestStatus status,
                              org.apache.log4j.Logger logger)
Constructor.

Parameters:
status - status of the request
logger - logger to use for error logging
Method Detail

getStatus

public RequestStatus getStatus()
Gets the status of the request. A non-error status such as PROCESSING indicates that the processing of waiting for the state to change has timed out.

Returns:
Status of the request.