Package org.bremersee.exception
Interface RestApiExceptionMapperProperties.ExceptionMappingConfig
- All Known Implementing Classes:
ImmutableExceptionMappingConfig
,RestApiExceptionMapperBootProperties.ExceptionMappingConfigImpl
- Enclosing interface:
- RestApiExceptionMapperProperties
@Immutable
public static interface RestApiExceptionMapperProperties.ExceptionMappingConfig
The exception mapping config.
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates builder.default Boolean
Is evaluate annotation first.Gets exception class name.default Boolean
Is include application name.default Boolean
Is include cause.default Boolean
Is include exception class name.default Boolean
Is include handler.default Boolean
Determines whether to include the message into the http output or not.default Boolean
Is include path.default Boolean
Is include stack trace.
-
Method Details
-
builder
Creates builder.- Returns:
- the builder
-
getExceptionClassName
String getExceptionClassName()Gets exception class name.- Returns:
- the exception class name
-
getIncludeMessage
Determines whether to include the message into the http output or not.- Returns:
- the boolean
-
getIncludeException
Is include exception class name.- Returns:
- the boolean
-
getIncludeApplicationName
Is include application name.- Returns:
- the boolean
-
getIncludePath
Is include path.- Returns:
- the boolean
-
getIncludeHandler
Is include handler.- Returns:
- the boolean
-
getIncludeStackTrace
Is include stack trace.- Returns:
- the boolean
-
getIncludeCause
Is include cause.- Returns:
- the boolean
-
getEvaluateAnnotationFirst
Is evaluate annotation first.- Returns:
- the boolean
-