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