org.granite.client.tide.server
Interface ExceptionHandler
- All Known Implementing Classes:
- BaseIdentity, Identity, Identity, OptimisticLockExceptionHandler, ValidationExceptionHandler
public interface ExceptionHandler
- Author:
- William DRAI
accepts
boolean accepts(FaultMessage emsg)
- Should return true if this handler is able to manage the specified ErrorMessage
- Parameters:
emsg - an error message
- Returns:
- true if ErrorMessage accepted
handle
void handle(Context context,
FaultMessage emsg,
TideFaultEvent faultEvent)
- Handle the error
- Parameters:
context - the context in which the error occuredemsg - the error messageevent - the full fault event