Class RestApiExceptionMapperBootProperties.ExceptionMappingImpl
java.lang.Object
org.bremersee.exception.spring.boot.autoconfigure.RestApiExceptionMapperBootProperties.ExceptionMappingImpl
- All Implemented Interfaces:
RestApiExceptionMapperProperties.ExceptionMapping
- Enclosing class:
- RestApiExceptionMapperBootProperties
public static class RestApiExceptionMapperBootProperties.ExceptionMappingImpl
extends Object
implements RestApiExceptionMapperProperties.ExceptionMapping
The exception mapping.
-
Constructor Summary
ConstructorDescriptionExceptionMappingImpl
(String exceptionClassName, org.springframework.http.HttpStatus httpStatus, String code) Instantiates a new exception mapping. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bremersee.exception.RestApiExceptionMapperProperties.ExceptionMapping
getCode, getExceptionClassName, getMessage
-
Constructor Details
-
Method Details
-
getStatus
public int getStatus()Gets status.- Specified by:
getStatus
in interfaceRestApiExceptionMapperProperties.ExceptionMapping
- Returns:
- the status
-