Class ServerErrorMapper

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

    public class ServerErrorMapper
    extends AbstractMapper<java.lang.RuntimeException>
    Mapper for service not found exceptions to the INTERNAL_SERVER_ERROR response code.
    • Constructor Detail

      • ServerErrorMapper

        public ServerErrorMapper()
    • 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.RuntimeException>
        response status