Packageorg.granite.tide
Interfacepublic interface IExceptionHandler
SubinterfacesIExtendedExceptionHandler
ImplementorsDefaultExceptionHandler, NotLoggedInExceptionHandler, OptimisticLockExceptionHandler, SessionExpirationInterceptor, ValidatorExceptionHandler

Interface for exception handlers An exception handler should tell which ErrorMessage it handles and do some action when the accepted error happens



Public Methods
 MethodDefined by
  
accepts(emsg:ErrorMessage):Boolean
Should return true if this handler is able to manage the specified ErrorMessage
IExceptionHandler
  
handle(context:BaseContext, emsg:ErrorMessage):void
Handle the error
IExceptionHandler
Method detail
accepts()method
public function accepts(emsg:ErrorMessage):Boolean

Should return true if this handler is able to manage the specified ErrorMessage

Parameters
emsg:ErrorMessage — an error message

Returns
Boolean — true if ErrorMessage accepted
handle()method 
public function handle(context:BaseContext, emsg:ErrorMessage):void

Handle the error

Parameters
context:BaseContext — the context in which the error occured
 
emsg:ErrorMessage — the error message