Package com.azure.core.exception
Class ResourceModifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.core.exception.HttpResponseException
com.azure.core.exception.ResourceModifiedException
- All Implemented Interfaces:
Serializable
The exception thrown for invalid resource modification with status code of 4XX, typically 409 Conflict.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceModifiedException(String message, HttpResponse response) Initializes a new instance of the ResourceModifiedException class.ResourceModifiedException(String message, HttpResponse response, Object value) Initializes a new instance of the ResourceModifiedException class.ResourceModifiedException(String message, HttpResponse response, Throwable cause) Initializes a new instance of the ResourceModifiedException class. -
Method Summary
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponse, getValueMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceModifiedException
Initializes a new instance of the ResourceModifiedException class.- Parameters:
message- the exception message or the response content if a message is not availableresponse- the HTTP response
-
ResourceModifiedException
Initializes a new instance of the ResourceModifiedException class.- Parameters:
message- the exception message or the response content if a message is not availableresponse- the HTTP responsevalue- the deserialized response value
-
ResourceModifiedException
Initializes a new instance of the ResourceModifiedException class.- Parameters:
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 ResourceModifiedException
-