Validation - 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 Validation 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 Validation component are listed below. You can also use Magic xpi's General Component Errors with the Validation component. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
851
|
The maximum length is less than the minimum length
|
852
|
The maximum date is less than the minimum date
|
853
|
The Input Value must be a numeric variable
|
854
|
The XSD file does not exist
|
855
|
The numeric list contains a non-numeric variable
|
856
|
The maximum number is less than the minimum number
|
857
|
The Valid Value has no value
|
Error Handling in Magic xpi