public interface ExceptionHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(HandlerInput input,
Throwable throwable)
Returns true if the implementation can handle the specified throwable
|
Optional<com.amazon.ask.model.Response> |
handle(HandlerInput input,
Throwable throwable)
Handles the exception
|
boolean canHandle(HandlerInput input, Throwable throwable)
input - handler inputthrowable - exceptionOptional<com.amazon.ask.model.Response> handle(HandlerInput input, Throwable throwable)
input - handler inputthrowable - exceptionCopyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.