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 BooleanIs evaluate annotation first.Gets exception class name.default BooleanIs include application name.default BooleanIs include cause.default BooleanIs include exception class name.default BooleanIs include handler.default BooleanDetermines whether to include the message into the http output or not.default BooleanIs include path.default BooleanIs 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
-