W4 – Error Handling (Magic xpi 3.x)
The Magic xpi Server Flow Manager checks for errors during the execution of a step. If there is an error in a W4 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 W4 component are listed below. You can also use Magic xpi's General Component Errors with the W4 component. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
2001
|
Trigger not Found
|
2002
|
Mandatory parameter is null
|
2003
|
W4 error return <Err No> : <Err Description>
|
2004
|
Java error return : <Err Description>
|
2005
|
Internal error return : <Err Description>
|
Error Handling in Magic xpi