public class ResourceExistsException extends HttpResponseException
Constructor and Description |
---|
ResourceExistsException(String message,
HttpResponse response)
Initializes a new instance of the ResourceExistsException class.
|
ResourceExistsException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the ResourceExistsException class.
|
ResourceExistsException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the ResourceExistsException class.
|
getResponse, getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceExistsException(String message, HttpResponse response)
message
- the exception message or the response content if a message is not availableresponse
- the HTTP responsepublic ResourceExistsException(String message, HttpResponse response, Object value)
message
- the exception message or the response content if a message is not availableresponse
- the HTTP responsevalue
- the deserialized response valuepublic ResourceExistsException(String message, HttpResponse response, Throwable cause)
message
- the exception message or the response content if a message is not availableresponse
- the HTTP responsecause
- the Throwable which caused the creation of this ResourceExistsExceptionCopyright © 2021 Microsoft Corporation. All rights reserved.