public abstract class RestErrorHandler extends Object
| Constructor and Description |
|---|
RestErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?>[] |
getRestExceptionTypes(Method method) |
abstract Object |
handleError(InvocationTargetException error)
When an error occurs during a REST service invocation, a RestErrorHandler is called to handle this error.
|
protected boolean |
isCheckedException(Throwable throwable) |
protected void |
setMethod(Method method) |
protected Method method
protected void setMethod(Method method)
public abstract Object handleError(InvocationTargetException error) throws RestFailure
error - method - RestFailureprotected boolean isCheckedException(Throwable throwable)
Copyright © 2016. All rights reserved.