Package lumis.portal.rest
Class PortalDefaultExceptionMapper
- java.lang.Object
-
- lumis.portal.rest.PortalDefaultExceptionMapper
-
- All Implemented Interfaces:
ExceptionMapper<Throwable>
@Provider @Priority(4999) public class PortalDefaultExceptionMapper extends Object implements ExceptionMapper<Throwable>
LumisXP's default exception mapper for REST.ConstraintViolationException
is mapped separately byConstraintViolationExceptionMapper
, so Jersey doesn't override it.- Since:
- 8.0.0
- Version:
- $Revision: 24152 $ $Date: 2020-09-24 17:30:52 -0300 (Thu, 24 Sep 2020) $
-
-
Constructor Summary
Constructors Constructor Description PortalDefaultExceptionMapper()
-
-
-
Method Detail
-
toResponse
public Response toResponse(Throwable exception)
- Specified by:
toResponse
in interfaceExceptionMapper<Throwable>
-
-