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)
ExceptionHandler
ServerFailure
based on the information contained in the
received exception
.createServerFailure
in interface ExceptionHandler
throwable
- a Throwable instanceServerFailure
instanceDefaultExceptionHandler