| Package | Description |
|---|---|
| com.amazon.ask.builder | |
| com.amazon.ask.dispatcher.exception | |
| com.amazon.ask.dispatcher.exception.impl |
| Modifier and Type | Field and Description |
|---|---|
protected List<ExceptionHandler> |
SkillBuilder.exceptionHandlers |
| Modifier and Type | Method and Description |
|---|---|
T |
SkillBuilder.addExceptionHandler(ExceptionHandler handler) |
T |
SkillBuilder.addExceptionHandlers(ExceptionHandler... handler) |
| Modifier and Type | Method and Description |
|---|---|
T |
SkillBuilder.addExceptionHandlers(List<ExceptionHandler> handlers) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ExceptionHandler> |
ExceptionMapper.getHandler(HandlerInput input,
Throwable throwable)
Returns a suitable exception handler to dispatch the specified exception, if one exists.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ExceptionHandler> |
DefaultExceptionMapper.exceptionHandlers |
| Modifier and Type | Method and Description |
|---|---|
Optional<ExceptionHandler> |
DefaultExceptionMapper.getHandler(HandlerInput handlerInput,
Throwable ex) |
| Modifier and Type | Method and Description |
|---|---|
DefaultExceptionMapper.Builder |
DefaultExceptionMapper.Builder.addExceptionHandler(ExceptionHandler handler)
Adds an exception handler to the end of the handler chain.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultExceptionMapper.Builder |
DefaultExceptionMapper.Builder.withExceptionHandlers(List<ExceptionHandler> exceptionHandlers)
List of exception handlers to use in the handler chain.
|
| Constructor and Description |
|---|
DefaultExceptionMapper(List<ExceptionHandler> exceptionHandlers) |
Copyright © 2018. All rights reserved.