Class ParsingExceptionMapper

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

    @Provider
    public class ParsingExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<ParsingException>
    Maps ParsingExceptions to a 400 response code.
    • Constructor Detail

      • ParsingExceptionMapper

        public ParsingExceptionMapper()
    • Method Detail

      • toResponse

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