DLESE Tools
v1.6.0

org.dlese.dpc.services.dds.toolkit
Class DDSServiceErrorResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dlese.dpc.services.dds.toolkit.DDSServiceErrorResponseException
All Implemented Interfaces:
Serializable

public final class DDSServiceErrorResponseException
extends Exception

Indicates a standard error response was recieved from a DDS service request.

Author:
John Weatherley
See Also:
Serialized Form

Constructor Summary
DDSServiceErrorResponseException(String code, String msg, String serviceRequest)
          Constructor for the DDSServiceErrorResponseException object
 
Method Summary
 String getServiceRequestMade()
          Gets the serviceRequestMade attribute of the DDSServiceErrorResponseException object
 String getServiceResponseCode()
          Gets the serviceResponseCode.
 String getServiceResponseMessage()
          Gets the serviceResponseMessage attribute of the DDSServiceErrorResponseException object
 
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

DDSServiceErrorResponseException

public DDSServiceErrorResponseException(String code,
                                        String msg,
                                        String serviceRequest)
Constructor for the DDSServiceErrorResponseException object

Parameters:
code - The error response code
msg - The error resonse message
serviceRequest - The service request made
Method Detail

getServiceResponseCode

public String getServiceResponseCode()
Gets the serviceResponseCode. A value of 'noRecordsMatch' indicates there were no matches for the given search.

Returns:
The serviceResponseCode value

getServiceResponseMessage

public String getServiceResponseMessage()
Gets the serviceResponseMessage attribute of the DDSServiceErrorResponseException object

Returns:
The serviceResponseMessage value

getServiceRequestMade

public String getServiceRequestMade()
Gets the serviceRequestMade attribute of the DDSServiceErrorResponseException object

Returns:
The serviceRequestMade value

DLESE Tools
v1.6.0