Class PortalDefaultExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>

    @Provider
    @Priority(4999)
    public class PortalDefaultExceptionMapper
    extends java.lang.Object
    implements javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>
    LumisXP's default exception mapper for REST.

    ConstraintViolationException is mapped separately by ConstraintViolationExceptionMapper, so Jersey doesn't override it.

    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(java.lang.Throwable exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortalDefaultExceptionMapper

        public PortalDefaultExceptionMapper()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(java.lang.Throwable exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>