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