public class DefaultExceptionHandler extends java.lang.Object implements ExceptionHandler
| Constructor and Description |
|---|
DefaultExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ServerFailure |
createServerFailure(java.lang.Throwable throwable)
Generates a
ServerFailure based on the information contained in the
received exception. |
public ServerFailure createServerFailure(java.lang.Throwable throwable)
ExceptionHandlerServerFailure based on the information contained in the
received exception.createServerFailure in interface ExceptionHandlerthrowable - a Throwable instanceServerFailure instanceDefaultExceptionHandler