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 Details

    • ObjectOptimisticLockingFailureExceptionMapper

      public ObjectOptimisticLockingFailureExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.springframework.orm.ObjectOptimisticLockingFailureException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.springframework.orm.ObjectOptimisticLockingFailureException>