public static final class DefaultExceptionMapper.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
DefaultExceptionMapper.Builder |
addExceptionHandler(ExceptionHandler handler)
Adds an exception handler to the end of the handler chain.
|
DefaultExceptionMapper |
build() |
DefaultExceptionMapper.Builder |
withExceptionHandlers(List<ExceptionHandler> exceptionHandlers)
List of exception handlers to use in the handler chain.
|
public DefaultExceptionMapper.Builder withExceptionHandlers(List<ExceptionHandler> exceptionHandlers)
exceptionHandlers - list of exception handlerspublic DefaultExceptionMapper.Builder addExceptionHandler(ExceptionHandler handler)
handler - handler to addpublic DefaultExceptionMapper build()
Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.