Class ConcurrentExceptionResponse
java.lang.Object
org.fcrepo.http.commons.responses.ConcurrentExceptionResponse
Response body for
ConcurrentUpdateException. The message always is returned, and the transaction ids are
returned if the fcrepo.response.include.transaction property is set.- Author:
- mikejritter
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentExceptionResponse(String message) Response forConcurrentUpdateException -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConflictingTransactionId(String conflictingTransactionId) voidsetExistingTransactionId(String existingTransactionId)
-
Constructor Details
-
ConcurrentExceptionResponse
Response forConcurrentUpdateException- Parameters:
message- the exception message
-
-
Method Details
-
getMessage
-
getExistingTransactionId
-
getConflictingTransactionId
-
setExistingTransactionId
-
setConflictingTransactionId
-