public class ServiceResponseException extends ServiceRemoteException
Constructor and Description |
---|
ServiceResponseException(ServiceResponse response)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
ServiceError |
getErrorCode()
Gets the service error code.
|
String |
getMessage()
Gets a message that describes the current exception.
|
ServiceResponse |
getResponse()
Gets the ServiceResponse for the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceResponseException(ServiceResponse response)
response
- the responsepublic ServiceResponse getResponse()
public ServiceError getErrorCode()
public String getMessage()
getMessage
in class Throwable
Copyright © 2012–2015 Microsoft. All rights reserved.