public class UnexpectedStatusException extends RuntimeException
Throwing this type of exception can be considered an optimistic locking failure. A retry of the update is generally not possible.
| Constructor and Description |
|---|
UnexpectedStatusException(Collection<? extends Object> expectedStatuses) |
UnexpectedStatusException(Object expectedStatus) |
UnexpectedStatusException(String error) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnexpectedStatusException(String error)
public UnexpectedStatusException(Object expectedStatus)
public UnexpectedStatusException(Collection<? extends Object> expectedStatuses)
Copyright © 2018. All rights reserved.