File Archive – Error Handling (Magic xpi 4.5)
The Magic xpi Server Flow Manager checks for errors during the execution of a step. If there is an error in a File Archive component step, the Error Handler is invoked and handles the error.
The first error in the step causes the termination of the step execution. If the step has multiple methods, and an error occurs in one of these methods, all subsequent methods are not executed.
The error codes for the File Archive component are listed below. You can also use Magic xpi's General Component Errors with the File Archive component. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
601
|
General purpose error return code
|
602
|
Memory allocation error
|
603
|
Invalid file
|
604
|
System Error
|
605
|
Cannot read from the device
|
606
|
Cannot write from the device
|
607
|
Java Exception
|
Error Handling in Magic xpi