Class ConflictException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.api.service.exceptions.ServiceException
-
- com.atlassian.confluence.api.service.exceptions.ConflictException
-
- All Implemented Interfaces:
Serializable
public class ConflictException extends ServiceException
Thrown when a request cannot be performed due to the state of the content, as per the semantics of the HTTP 409 'Conflict' status code. For example, when an UPDATE request is made with a stale version number, or an attempt to manipulate trashed content.Typically these operations can be retried successfully either by updating the information in the request to match the state of the content, or by first updating the state of the content.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConflictException()
ConflictException(String message)
ConflictException(String message, ValidationResult validationResult)
ConflictException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.api.service.exceptions.ServiceException
getOptionalValidationResult, optionalValidationResult, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ConflictException
public ConflictException()
-
ConflictException
public ConflictException(String message)
-
ConflictException
public ConflictException(String message, ValidationResult validationResult)
-
-