Package org.bremersee.exception
Interface RestApiExceptionMapperProperties.ExceptionMapping
- All Known Implementing Classes:
ImmutableExceptionMapping
- Enclosing interface:
- RestApiExceptionMapperProperties
@Immutable
public static interface RestApiExceptionMapperProperties.ExceptionMapping
The exception mapping.
-
Method Details
-
builder
Builder immutable exception mapping . builder.- Returns:
- the immutable exception mapping . builder
-
getExceptionClassName
String getExceptionClassName()Gets exception class name.- Returns:
- the exception class name
-
getStatus
@Default default int getStatus()Gets status.- Returns:
- the status
-
getMessage
Gets message.- Returns:
- the message
-
getCode
Gets code.- Returns:
- the code
-