Package org.forgerock.json.resource
Class ConflictException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.io.IOException
- 
- org.forgerock.json.resource.ResourceException
- 
- org.forgerock.json.resource.ConflictException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Response
 
 public class ConflictException extends ResourceException An exception that is thrown during a operation on a resource when such an operation would result in a conflict. For example: when a patch conflicts with the object state. For MVCC version required/failed failures use those specific exceptions instead,
- 
- 
Field Summary- 
Fields inherited from class org.forgerock.json.resource.ResourceExceptionBAD_REQUEST, CONFLICT, FIELD_CAUSE, FIELD_CODE, FIELD_DETAIL, FIELD_MESSAGE, FIELD_REASON, FORBIDDEN, INTERNAL_ERROR, NOT_FOUND, NOT_SUPPORTED, UNAVAILABLE, UNSUPPORTED_MEDIA_TYPE, VERSION_MISMATCH, VERSION_REQUIRED
 
- 
 - 
Constructor SummaryConstructors Constructor Description ConflictException()Constructs a new exception withnullas its detail message.ConflictException(String message)Constructs a new exception with the specified detail message.ConflictException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.ConflictException(Throwable cause)Constructs a new exception with the specified cause.
 - 
Method Summary- 
Methods inherited from class org.forgerock.json.resource.ResourceExceptionasPromise, getCode, getDetail, getException, getException, getException, getReason, getResourceApiVersion, includeCauseInJsonValue, isServerError, newResourceException, newResourceException, newResourceException, setDetail, setReason, setResourceApiVersion, toJsonValue
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.forgerock.json.resource.ResponsegetCacheControl
 
- 
 
- 
- 
- 
Constructor Detail- 
ConflictExceptionpublic ConflictException() Constructs a new exception withnullas its detail message.
 - 
ConflictExceptionpublic ConflictException(String message) Constructs a new exception with the specified detail message.- Parameters:
- message- The detail message.
 
 - 
ConflictExceptionpublic ConflictException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.- Parameters:
- message- The detail message.
- cause- The exception which caused this exception to be thrown.
 
 - 
ConflictExceptionpublic ConflictException(Throwable cause) Constructs a new exception with the specified cause.- Parameters:
- cause- The exception which caused this exception to be thrown.
 
 
- 
 
-