public class ConcurrentWriteException extends ClientException
ClientException.ClientError
Constructor and Description |
---|
ConcurrentWriteException(ErrorType error,
Throwable cause)
This is the constructor used for serialization.
|
ConcurrentWriteException(String message,
ReferenceType latest,
ReferenceType writeAttempt)
This constructor creates a
ConcurrentWriteException that indicates that it was attempted to write on
an entity referenced by given reference while the latest version of the object is referenced by the other given
reference. |
Modifier and Type | Method and Description |
---|---|
ConcurrentWriteDetails |
getErrorDetails()
Returns the exception error details.
|
createError, getDescriptionParameters, getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConcurrentWriteException(ErrorType error, Throwable cause)
error
- the error modelcause
- the cause of the exceptionpublic ConcurrentWriteException(String message, ReferenceType latest, ReferenceType writeAttempt)
ConcurrentWriteException
that indicates that it was attempted to write on
an entity referenced by given reference while the latest version of the object is referenced by the other given
reference.latest
- a reference to the latest versionwriteAttempt
- the reference on which a write was attemptedmessage
- a detailed error messagepublic ConcurrentWriteDetails getErrorDetails()
EcmRuntimeException
getErrorDetails
in class EcmRuntimeException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.