Automation clients accessing a PowerBuilder server may generate OLE exceptions under certain circumstances. When user actions cause an exception, PowerBuilder populates the EXCEPINFO structure passed by the caller with an exception code identifying the type of exception. For a PowerBuilder client, the exception information is passed as arguments to the ExternalException event.
Client applications might receive these exception codes from the PowerBuilder automation server:
Code |
Meaning |
---|---|
1001 |
Memory allocation failure. |
1002 |
Requested Object is not in the library list. |
1003 |
Object create failed. |
1004 |
Binary format does not match version or is out of date. |
1005 |
Property accessed as an array is not an array. |
1006 |
Unexpected error executing script. |
1007 |
No method was found matching the requested name and argument types. |
1008 |
Unable to convert variant argument type. |