Class IllegalStateExceptionMapper

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

    public class IllegalStateExceptionMapper
    extends AbstractMapper<java.lang.IllegalStateException>
    Mapper for illegal state exceptions to the BAD_REQUEST response code.
    • Constructor Detail

      • IllegalStateExceptionMapper

        public IllegalStateExceptionMapper()
    • 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.IllegalStateException>
        response status