Class PortalDocExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<PortalDocException>

    public class PortalDocExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<PortalDocException>
    Ordnet eine geworfene Exception einer Http-Antwort zu und gewaehrleistet dass diese an der Schnittstelle ordentlich geliefert wird.
    • Constructor Detail

      • PortalDocExceptionMapper

        public PortalDocExceptionMapper()
    • Method Detail

      • toResponse

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