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()
@Nullable 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.@Nullable public ResponseWithErrorCode toResponse(@Nonnull Throwable throwable)
Copyright © 2019 SAP SE. All rights reserved.