Class ExceptionHandler

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

    @Provider
    public class ExceptionHandler
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<Exception>
    Simple error handler to give back a user-readable status, and log it to the console.

    This is a convenience for trouble-shouting.