Package org.fcrepo.kernel.api.exception
Class ConcurrentUpdateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fcrepo.kernel.api.exception.RepositoryRuntimeException
org.fcrepo.kernel.api.exception.ConcurrentUpdateException
- All Implemented Interfaces:
Serializable
This exception indicates that a resource could not be modified because it is currently being modified by another
transaction.
- Author:
- pwinckles
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentUpdateException(String resource, String conflictingTx, String existingTx) Constructor -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConcurrentUpdateException
Constructor- Parameters:
resource- the Fedora responseconflictingTx- the transaction id attempting to lock the resourceexistingTx- the transaction id holding the resource
-
-
Method Details
-
getResponseMessage
-
getExistingTransactionId
-
getConflictingTransactionId
-