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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConflictException
(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
optionalValidationResult, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConflictException
public ConflictException() -
ConflictException
-
ConflictException
-
ConflictException
-