Package | org.spicefactory.parsley.flex.tag.builder |
Class | public class MessageSettingsTag |
Inheritance | MessageSettingsTag Object |
Implements | BootstrapConfigProcessor |
The tag can be used as a child tag of the ContextBuilder tag:
<parsley:ContextBuilder>
<parsley:MessageSettings undhandledErrors="{ErrorPolicy.RETHROW}"/>
<parsley:FlexConfig type="{BookStoreConfig}"/>
<parsley:XmlConfig file="logging.xml"/>
</parsley:ContextBuilder>
Property | Defined By | ||
---|---|---|---|
defaultReceiverScope : String | MessageSettingsTag | ||
errorHandler : Function
A handler that gets invoked for each Error thrown in any message receiver
in any Context in any scope. | MessageSettingsTag | ||
unhandledErrors : ErrorPolicy
The policy to apply for unhandled errors. | MessageSettingsTag |
defaultReceiverScope | property |
public var defaultReceiverScope:String
errorHandler | property |
public var errorHandler:Function
A handler that gets invoked for each Error thrown in any message receiver
in any Context in any scope. The signature of the function must be:
function (processor:MessageProcessor, error:Error) : void
unhandledErrors | property |
public var unhandledErrors:ErrorPolicy
The policy to apply for unhandled errors. An unhandled error
is an error thrown by a message handler where no matching error handler
was registered for. The default is ErrorPolicy.IGNORE
.