public class StringParsingExceptionMapper extends AbstractResponseMapper<StringParsingException>
| Constructor and Description |
|---|
StringParsingExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
LogLevel |
getLogLevel(Throwable throwable) |
Class<StringParsingException> |
getThrowableClass() |
ResponseWithErrorCode |
toResponse(Throwable throwable) |
getErrorMessage@Nonnull public Class<StringParsingException> getThrowableClass()
@Nonnull public LogLevel getLogLevel(@Nonnull Throwable throwable)
getLogLevel in interface ResponseMapper<StringParsingException>getLogLevel in class AbstractResponseMapper<StringParsingException>Throwable. Returning null indicates the response
builder to use its default behavior.@Nonnull public ResponseWithErrorCode toResponse(@Nonnull Throwable throwable)
Copyright © 2022 SAP SE. All rights reserved.