Error Return Values
- Last UpdatedAug 09, 2016
- 2 minute read
There are two kinds of errors generated from the OcxBatch control. First are the errors returned directly by the control from its methods. Second are the errors caught by Batch Manager and returned asynchronously through the controls Display Error function. The following list of errors simply defines the errors returned by the control. An application can try to catch these by checking return values. An application can catch Batch Manager errors by using the Display Errors function as a global error handler. However, Batch Manager errors are not available immediately following the method call that caused the error. The application must set up an asynchronous error catching mechanism or simply list Batch Manager errors.
Below is a description of the possible errors returned from OcxBatch method calls.
|
Value |
Description |
|---|---|
|
0 |
No error |
|
100 |
Invalid CLB |
|
101 |
Batch status is invalid for operation |
|
102 |
Invalid security information |
|
104 |
Error talking to Batch Manager |
|
105 |
Invalid equipment |
|
106 |
Invalid equipment instance |
|
107 |
Invalid equipment type |
|
108 |
Invalid phase |
|
109 |
Invalid phase status |
|
110 |
No ack required |
|
111 |
Invalid parameter |
|
112 |
Invalid question |
|
113 |
Invalid question answer |
|
114 |
Invalid schedule |
|
115 |
Invalid handshake |
|
116 |
Invalid unit control available |
|
117 |
Recipe exists |
|
118 |
Batch Manager is busy |
|
119 |
Invalid recipe quantity |
|
120 |
Failed to connect to InfoMngr |
|
121 |
No document assigned to phase |
|
122 |
Invalid document assigned to phase |
|
123 |
Invalid acknowledgement of phase document |
|
170 |
Init method has not yet been called |
|
171 |
OcxBatch general system error |
|
172 |
OcxBatch security pending (not usually an error) |
|
173 |
OcxBatch cannot connect to Batch Server. |
|
174 |
OcxBatch has already had the Init method called |
|
175 |
OcxBatch license failure |
|
200 |
OcxBatch system error |
|
1000-1999 |
DoneBy Security error |
|
2000-2999 |
CheckBy Security error |