Class RestApiExceptionMapperProperties.ExceptionMapping

    • Constructor Detail

      • ExceptionMapping

        public ExceptionMapping​(String exceptionClassName,
                                org.springframework.http.HttpStatus httpStatus,
                                String code)
        Instantiates a new exception mapping.
        Parameters:
        exceptionClassName - the exception class name
        httpStatus - the http status
        code - the code
    • Method Detail

      • getStatus

        public int getStatus()
        Gets status.
        Returns:
        the status