public class DefaultExceptionMapper extends Object implements ExceptionMapper
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultExceptionMapper.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultExceptionMapper.Builder |
builder() |
Optional<ExceptionHandler> |
getHandler(HandlerInput handlerInput,
Throwable ex)
Returns a suitable exception handler to dispatch the specified exception, if one exists.
|
public static DefaultExceptionMapper.Builder builder()
public Optional<ExceptionHandler> getHandler(HandlerInput handlerInput, Throwable ex)
ExceptionMappergetHandler in interface ExceptionMapperhandlerInput - handler inputex - exceptionCopyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.