Class IllegalArgumentExceptionMapper

  • All Implemented Interfaces:<java.lang.IllegalArgumentException>

    public class IllegalArgumentExceptionMapper
    extends AbstractMapper<java.lang.IllegalArgumentException>
    Mapper for illegal argument exceptions to the BAD_REQUEST response code.
    • Constructor Detail

      • IllegalArgumentExceptionMapper

        public IllegalArgumentExceptionMapper()
    • Method Detail

      • responseStatus

        protected responseStatus()
        Description copied from class: AbstractMapper
        Returns the response status to be given when the exception occurs.
        Specified by:
        responseStatus in class AbstractMapper<java.lang.IllegalArgumentException>
        response status