| Package | org.spicefactory.parsley.core.messaging.receiver |
| Interface | public interface MessageErrorHandler extends MessageReceiver |
| Implementors | DefaultMessageErrorHandler |
| Property | Defined By | ||
|---|---|---|---|
| errorType : Class [read-only]
The type of Error this handler is interested in. | MessageErrorHandler | ||
![]() | order : int [read-only]
The execution order for this receiver. | MessageReceiver | |
![]() | selector : * [read-only]
An optional selector value to be used for selecting matching messages. | MessageReceiver | |
![]() | type : Class [read-only]
The class or interface of the message. | MessageReceiver | |
| Method | Defined By | ||
|---|---|---|---|
handleError(processor:MessageProcessor, error:Error):void
Handles an error thrown by a regular message target or interceptor. | MessageErrorHandler | ||
| 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| 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
|