public class DefaultExceptionHandler extends Object implements ExceptionHandler
Constructor and Description |
---|
DefaultExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
ServerFailure |
createServerFailure(Throwable throwable)
Generates a
ServerFailure based on the information contained in the
received exception . |
public ServerFailure createServerFailure(Throwable throwable)
ExceptionHandler
ServerFailure
based on the information contained in the
received exception
.createServerFailure
in interface ExceptionHandler
throwable
- a Throwable instanceServerFailure
instanceDefaultExceptionHandler
Copyright © 2016. All rights reserved.