com.novell.sentinel.client.bean
Interface OnBeanOpComplete
- All Known Subinterfaces:
- OnBeanCount, OnBeanDelete, OnBeanLoad<B>, OnBeanPageLoad<B>, OnBeanPost, OnBeanPut, OnOctetStreamLoad
public interface OnBeanOpComplete
Base interface for result handling interfaces that are called
to report the result of HTTP operations on beans.
onError
void onError(HttpException e)
- Called if an error occurs during the operation. The HttpException instance will represent
the error in the following ways:
- If the error results from the actual HTTP operation itself, then
HttpException.isCodeSet()
will return true
and the HTTP status code can be obtained from HttpException.getCode()
.
There may also be an associated textual message with can be obtained from HttpException.getMessage()
.
- If the error results from other than the actual HTTP operation then
HttpException.getCause()
will
return the underlying cause of the error.
- Parameters:
e
- The error information.