Package org.ehrbase.api.exception
Class StateConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ehrbase.api.exception.StateConflictException
- All Implemented Interfaces:
Serializable
Project-custom exception that allows outbound APIs to react on backend problems. Shall be thrown to invoke
status 409 "Conflict" or whatever is appropriate.
Request is in conflict with current state, e.g. referenced version of object is not the last version.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStateConflictException(String message) StateConflictException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StateConflictException
-
StateConflictException
-