Packageorg.granite.tide.validators
Classpublic class ValidatorExceptionHandler
ImplementsIExceptionHandler

Validation exception handler that accepts Validation.Failed faults (server-side Tide converts Hibernate validator errors to this fault code) and dispatches them on the context



Public Methods
 MethodDefined by
  
accepts(emsg:ErrorMessage):Boolean
ValidatorExceptionHandler
  
handle(context:BaseContext, emsg:ErrorMessage):void
ValidatorExceptionHandler
Public Constants
 ConstantDefined by
  VALIDATION_FAILED : String = "Validation.Failed"
[static]
ValidatorExceptionHandler
Method detail
accepts()method
public function accepts(emsg:ErrorMessage):BooleanParameters
emsg:ErrorMessage

Returns
Boolean
handle()method 
public function handle(context:BaseContext, emsg:ErrorMessage):voidParameters
context:BaseContext
 
emsg:ErrorMessage
Constant detail
VALIDATION_FAILEDconstant
public static const VALIDATION_FAILED:String = "Validation.Failed"