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
public Class<RuntimeException> getThrowableClass()
public ResponseWithErrorCode toResponse(Throwable throwable)
Copyright © 2017 SAP SE. All rights reserved.