Package lumis.portal.rest
Class PortalDefaultExceptionMapper
- java.lang.Object
-
- lumis.portal.rest.PortalDefaultExceptionMapper
-
- All Implemented Interfaces:
ExceptionMapper<java.lang.Throwable>
@Provider @Priority(4999) public class PortalDefaultExceptionMapper extends java.lang.Object implements ExceptionMapper<java.lang.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
toResponse(java.lang.Throwable exception)
-
-
-
Method Detail
-
toResponse
public Response toResponse(java.lang.Throwable exception)
- Specified by:
toResponse
in interfaceExceptionMapper<java.lang.Throwable>
-
-