File Management – Error Handling (Magic xpi 4.6)
The Magic xpi Server Flow Manager checks for errors during the execution of a step. If there is an error in a File Management 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 Management component are listed below. You can also use Magic xpi's General Component Errors with the File Management component. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
200
|
Folder does not exist
|
201
|
Folder cannot be deleted
|
202
|
File not found
|
203
|
File cannot be copied
|
204
|
File cannot be renamed
|
205
|
File cannot be deleted
|
206
|
Writing into a file failed
|
207
|
Failed to execute command line
For more information, click here.
|
210
|
File cannot be created
|
211
|
Command Line Timeout
|
212
|
Invalid Source or Invalid Destination
|
213
|
Required parameter values are missing
|
214
|
Folder already exists
|
215
|
Java Exception
|
216
|
Operation Failed
|
Error Handling in Magic xpi