Package lumis.portal.rest
Class ConstraintViolationExceptionMapper
- java.lang.Object
-
- lumis.portal.rest.ConstraintViolationExceptionMapper
-
- All Implemented Interfaces:
ExceptionMapper<ConstraintViolationException>
@Provider @Priority(4999) public class ConstraintViolationExceptionMapper extends java.lang.Object implements ExceptionMapper<ConstraintViolationException>
Default portal exception mapper forConstraintViolationException
.- Since:
- 8.0.0
- Version:
- $Revision: 24152 $ $Date: 2020-09-24 17:30:52 -0300 (Thu, 24 Sep 2020) $
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
toResponse(ConstraintViolationException exception)
-
-
-
Method Detail
-
toResponse
public Response toResponse(ConstraintViolationException exception)
- Specified by:
toResponse
in interfaceExceptionMapper<ConstraintViolationException>
-
-