Class JSONResponse.ExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<Exception>
    Enclosing class:
    JSONResponse

    public static class JSONResponse.ExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<Exception>
    trap exceptions
    Author:
    Joerg Plewe
    • Constructor Detail

      • ExceptionMapper

        public ExceptionMapper()
    • Method Detail

      • toResponse

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