Interface RestApiExceptionMapperProperties.ExceptionMapping

All Known Implementing Classes:
ImmutableExceptionMapping, RestApiExceptionMapperBootProperties.ExceptionMappingImpl
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

      @Nullable String getMessage()
      Gets message.
      Returns:
      the message
    • getCode

      @Nullable String getCode()
      Gets code.
      Returns:
      the code