public class ResourceNotFoundException extends HttpResponseException
Constructor and Description |
---|
ResourceNotFoundException(String message,
HttpResponse response)
Initializes a new instance of the ResourceNotFoundException class.
|
ResourceNotFoundException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the ResourceNotFoundException class.
|
ResourceNotFoundException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the ResourceNotFoundException class.
|
getResponse, getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message, HttpResponse response)
message
- the exception message or the response content if a message is not availableresponse
- the HTTP responsepublic ResourceNotFoundException(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 ResourceNotFoundException(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 ResourceNotFoundExceptionCopyright © 2021 Microsoft Corporation. All rights reserved.