Package org.pipservices3.commons.errors
Class ConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pipservices3.commons.errors.ApplicationException
org.pipservices3.commons.errors.ConflictException
- All Implemented Interfaces:
Serializable
Errors raised by conflicts between object versions that were
posted by the user and those that are stored on the server.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an error instance with conflict error category and assigns its values.ConflictException
(String correlationId, String code, String message) Creates an error instance and assigns its values. -
Method Summary
Methods inherited from class org.pipservices3.commons.errors.ApplicationException
getCategory, getCauseString, getCode, getCorrelationId, getDetails, getMessage, getStackTraceString, getStatus, setCategory, setCauseString, setCode, setCorrelationId, setDetails, setMessage, setStackTraceString, setStatus, withCause, withCode, withCorrelationId, withDetails, withStackTrace, withStatus, wrap, wrapException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConflictException
public ConflictException()Creates an error instance with conflict error category and assigns its values.- See Also:
-
ConflictException
Creates an error instance and assigns its values.- Parameters:
correlationId
- (optional) a unique transaction id to trace execution through call chain.code
- (optional) a unique error code. Default: "UNKNOWN"message
- (optional) a human-readable description of the error.- See Also:
-