Class ConcurrentWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ConcurrentWriteException
- All Implemented Interfaces:
Serializable
The Class ConcurrentWriteException. Thrown when a write loses the race with another write
on overlapping graph elements: the other one committed, this one changed nothing. The
request can be repeated as it is. Mapped to
409 Conflict by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentWriteException(String message) Instantiates a new concurrent write exception.ConcurrentWriteException(String message, Throwable cause) Instantiates a new concurrent write exception. -
Method Summary
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadataMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConcurrentWriteException
Instantiates a new concurrent write exception.- Parameters:
message- the message
-
ConcurrentWriteException
Instantiates a new concurrent write exception.- Parameters:
message- the messagecause- the cause
-