org.granite.client.tide.data
Class OptimisticLockExceptionHandler
java.lang.Object
org.granite.client.tide.data.OptimisticLockExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
public class OptimisticLockExceptionHandler
- extends Object
- implements ExceptionHandler
- Author:
- William DRAI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimisticLockExceptionHandler
public OptimisticLockExceptionHandler()
accepts
public boolean accepts(FaultMessage emsg)
- Description copied from interface:
ExceptionHandler
- Should return true if this handler is able to manage the specified ErrorMessage
- Specified by:
accepts in interface ExceptionHandler
- Parameters:
emsg - an error message
- Returns:
- true if ErrorMessage accepted
handle
public void handle(Context context,
FaultMessage emsg,
TideFaultEvent faultEvent)
- Description copied from interface:
ExceptionHandler
- Handle the error
- Specified by:
handle in interface ExceptionHandler
- Parameters:
context - the context in which the error occuredemsg - the error message