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
public Class<StringParsingException> getThrowableClass()
@Nullable public LogLevel getLogLevel(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(Throwable throwable)
Copyright © 2017 SAP SE. All rights reserved.