Class ObjectOptimisticLockingFailureExceptionMapper
java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.ObjectOptimisticLockingFailureExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.springframework.orm.ObjectOptimisticLockingFailureException>
@Provider
@Singleton
public class ObjectOptimisticLockingFailureExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.springframework.orm.ObjectOptimisticLockingFailureException>
Maps
ObjectOptimisticLockingFailureException
to Response
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(org.springframework.orm.ObjectOptimisticLockingFailureException exception)
-
Constructor Details
-
ObjectOptimisticLockingFailureExceptionMapper
public ObjectOptimisticLockingFailureExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.springframework.orm.ObjectOptimisticLockingFailureException exception) - Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<org.springframework.orm.ObjectOptimisticLockingFailureException>
-