public class JsonSyntaxExceptionMapper extends AbstractResponseMapper<com.google.gson.JsonSyntaxException>
Constructor and Description |
---|
JsonSyntaxExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
Class<com.google.gson.JsonSyntaxException> |
getThrowableClass() |
ResponseWithErrorCode |
toResponse(Throwable throwable) |
getErrorMessage, getLogLevel
public Class<com.google.gson.JsonSyntaxException> getThrowableClass()
@Nullable public ResponseWithErrorCode toResponse(Throwable throwable)
Copyright © 2017 SAP SE. All rights reserved.