public class OptimisticLockExceptionHandler extends java.lang.Object implements ExceptionHandler
| Constructor and Description |
|---|
OptimisticLockExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.granite.client.messaging.messages.responses.FaultMessage emsg)
Should return true if this handler is able to manage the specified ErrorMessage
|
void |
handle(Context context,
org.granite.client.messaging.messages.responses.FaultMessage emsg,
TideFaultEvent faultEvent)
Handle the error
|
public boolean accepts(org.granite.client.messaging.messages.responses.FaultMessage emsg)
ExceptionHandleraccepts in interface ExceptionHandleremsg - an error messagepublic void handle(Context context, org.granite.client.messaging.messages.responses.FaultMessage emsg, TideFaultEvent faultEvent)
ExceptionHandlerhandle in interface ExceptionHandlercontext - the context in which the error occuredemsg - the error messagefaultEvent - the full fault event