Interface org.as2lib.app.exec.BatchErrorListener

Description

BatchErrorListener is a defintion for a observer of error that occur during the execution of a Batch.

To observe errors that occur during the execution of a Batch you can implement this interface and add your implementation with Batch.addListener to observe a certain Batch.

See Also

Method Index

onBatchError()

Method Detail

onBatchError

public function onBatchError(batch:Batch, error):Boolean

Method to be executed if a error occured during the execution of the Batch

Parameters

batchBatch where a error occured
errorerror that occured during execution

Return

true to consume the event