public class RuntimeExceptionMapper extends AbstractResponseMapper<RuntimeException>
Constructor and Description |
---|
RuntimeExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
Class<RuntimeException> |
getThrowableClass() |
ResponseWithErrorCode |
toResponse(Throwable throwable) |
getErrorMessage, getLogLevel
@Nonnull public Class<RuntimeException> getThrowableClass()
public ResponseWithErrorCode toResponse(@Nonnull Throwable throwable)
Copyright © 2019 SAP SE. All rights reserved.