@Provider @Priority(value=4999) public class PortalDefaultExceptionMapper extends Object implements ExceptionMapper<Throwable>
ConstraintViolationException
is mapped separately by ConstraintViolationExceptionMapper
, so Jersey
doesn't override it.
Constructor and Description |
---|
PortalDefaultExceptionMapper() |
public Response toResponse(Throwable exception)
toResponse
in interface ExceptionMapper<Throwable>
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.