public abstract class AbstractResponseMapper<T extends Throwable> extends Object implements ResponseMapper<T>
| Constructor and Description |
|---|
AbstractResponseMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage(Throwable throwable) |
LogLevel |
getLogLevel(Throwable throwable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetThrowableClass, toResponse@Nullable public LogLevel getLogLevel(@Nonnull Throwable throwable)
getLogLevel in interface ResponseMapper<T extends Throwable>Throwable. Returning null indicates the response
builder to use its default behavior.@Nullable public String getErrorMessage(@Nonnull Throwable throwable)
getErrorMessage in interface ResponseMapper<T extends Throwable>Throwable. Returning null indicates the
response builder to use its default behavior.Copyright © 2022 SAP SE. All rights reserved.