Interface RestApiExceptionMapperProperties.ExceptionMappingConfig

All Known Implementing Classes:
ImmutableExceptionMappingConfig
Enclosing interface:
RestApiExceptionMapperProperties

@Immutable public static interface RestApiExceptionMapperProperties.ExceptionMappingConfig
The exception mapping config.
  • Method Details

    • builder

      Creates builder.
      Returns:
      the builder
    • getExceptionClassName

      String getExceptionClassName()
      Gets exception class name.
      Returns:
      the exception class name
    • getIncludeMessage

      @Default default Boolean getIncludeMessage()
      Determines whether to include the message into the http output or not.
      Returns:
      the boolean
    • getIncludeException

      @Default default Boolean getIncludeException()
      Is include exception class name.
      Returns:
      the boolean
    • getIncludeApplicationName

      @Default default Boolean getIncludeApplicationName()
      Is include application name.
      Returns:
      the boolean
    • getIncludePath

      @Default default Boolean getIncludePath()
      Is include path.
      Returns:
      the boolean
    • getIncludeHandler

      @Default default Boolean getIncludeHandler()
      Is include handler.
      Returns:
      the boolean
    • getIncludeStackTrace

      @Default default Boolean getIncludeStackTrace()
      Is include stack trace.
      Returns:
      the boolean
    • getIncludeCause

      @Default default Boolean getIncludeCause()
      Is include cause.
      Returns:
      the boolean
    • getEvaluateAnnotationFirst

      @Default default Boolean getEvaluateAnnotationFirst()
      Is evaluate annotation first.
      Returns:
      the boolean