ResourceModifiedException Class  
	- 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  
- com.
 
- com.
 
- com.
 
- java.
 
- java.
 
- java.
 
public class ResourceModifiedException
 extends HttpResponseException
The ResourceModifiedException represents an exception thrown when an HTTP request attempts to modify a resource in a way that is not allowed.
This exception is typically thrown when the service responds with a status code of 4XX, typically 409 Conflict. This can occur when trying to modify a resource that has been updated by another process, resulting in a conflict.
This class also provides methods to get the HttpResponse that was received when the exception occurred and the deserialized HTTP response value.
Constructor Summary
| Constructor | Description | 
|---|---|
| ResourceModifiedException(String message, HttpResponse response) | 
								 Initializes a new instance of the Resource  | 
					
| ResourceModifiedException(String message, HttpResponse response, Object value) | 
								 Initializes a new instance of the Resource  | 
					
| ResourceModifiedException(String message, HttpResponse response, Throwable cause) | 
								 Initializes a new instance of the Resource  | 
					
Methods inherited from HttpResponseException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ResourceModifiedException
public ResourceModifiedException(String message, HttpResponse response)
Initializes a new instance of the ResourceModifiedException class.
Parameters:
ResourceModifiedException
public ResourceModifiedException(String message, HttpResponse response, Object value)
Initializes a new instance of the ResourceModifiedException class.
Parameters:
ResourceModifiedException
public ResourceModifiedException(String message, HttpResponse response, Throwable cause)
Initializes a new instance of the ResourceModifiedException class.
Parameters: