| Package | org.spicefactory.parsley.messaging.receiver | 
| Class | public class DefaultMessageErrorHandler | 
| Inheritance | DefaultMessageErrorHandler    AbstractMethodReceiver   AbstractObjectProviderReceiver   AbstractMessageReceiver   Object | 
| Implements | MessageErrorHandler | 
| Property | Defined By | ||
|---|---|---|---|
| errorType : Class [read-only] 
	 
	 The type of Error this handler is interested in.  | DefaultMessageErrorHandler | ||
![]()  | order : int [read-only] 
	 
	 The execution order for this receiver.  | AbstractMessageReceiver | |
![]()  | provider : ObjectProvider [read-only] 
	 The provider for the actual instance handling the message.  | AbstractObjectProviderReceiver | |
![]()  | selector : * [read-only] 
	 
	 An optional selector value to be used for selecting matching messages.  | AbstractMessageReceiver | |
![]()  | targetMethod : Method [read-only] 
	 The method to invoke for matching messages.  | AbstractMethodReceiver | |
![]()  | type : Class [read-only] 
	 
	 The class or interface of the message.  | AbstractMessageReceiver | |
| Method | Defined By | ||
|---|---|---|---|
	 Creates a new instance.  | DefaultMessageErrorHandler | ||
handleError(processor:MessageProcessor, error:Error):void 
	 
	 Handles an error thrown by a regular message target or interceptor.  | DefaultMessageErrorHandler | ||
![]()  | 
	 
	 Initializes this receiver, passing the target object
	 provider and method.  | AbstractMethodReceiver | |
![]()  | toString():String  | AbstractMethodReceiver | |
| errorType | property | 
errorType:Class  [read-only] The type of Error this handler is interested in. Like with matching message classes this works in a polymorphic way. Specifying the base Error class creates an ErrorHandler that handles all errors for a particular message type.
    public function get errorType():Class| DefaultMessageErrorHandler | () | Constructor | 
public function DefaultMessageErrorHandler(info:MessageReceiverInfo = null, errorType:ClassInfo = null)
	 Creates a new instance.
	 The target method must have a parameter of type org.spicefactory.parsley.messaging.MessageProcessor
	 and a second parameter of type Error (or a subtype).
	 
	 
info:MessageReceiverInfo (default = null) — the mapping information for the receiver
	  | |
errorType:ClassInfo (default = null) — the type of Error this handler is interested in
	  | 
| handleError | () | method | 
 public function handleError(processor:MessageProcessor, error:Error):voidHandles an error thrown by a regular message target or interceptor. Processing further error handlers and targets will only happen if proceed is called on the specified processor.
Parameters
processor:MessageProcessor — the processor for the message
	  | |
error:Error — the error thrown by a message target
	  |