public class ValidationExceptionHandler extends Object implements ExceptionHandler
| Constructor and Description |
|---|
ValidationExceptionHandler() |
| 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 ValidationExceptionHandler()
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