JagORBClientErrNum enumeration

Description

Type library name

JaguarTypeLibrary

DLL name

jagproxy.dll

Defines symbolic constants to errors that can occur in the ActiveX client proxy.

Table 4-2 lists the codes for client-side error numbers defined in the JagORBClientErrNum enumeration:

Table 4-2: JagORBClientErrNum error codes

Symbolic error code

Number

Description

jagClNonByteArrayErr

8000

Method arguments of type array can only have a base element type of byte.

jagClMultiDimArrayErr

8001

Multidimensional arrays not supported as an argument to a method.

jagClArrayRedimErr

8002

A fatal internal error was encountered while attempting to resize a method argument of type array.

jagClArrayProcErr

8003

A fatal internal error was encountered while processing a method argument of type array.

jagClArrayEmptyErr

8004

An array of size 0 was passed as parameter to a method.

jagClArrayBoundsErr

8005

A fatal internal error was encountered while attempting to determine the upper bound on a method argument of type array.

jagClNotJagComponentErr

8006

The component being instantiated is not a valid EAServer component or was not registered in the Windows Registry.

jagClOutOfMem

8007

The application failed to acquire memory from the operating system.

jagClCreateFactErr

8008

The EAServer proxy server cannot instantiate a Factory object. Please contact Sybase Technical Support.

jagClTypeLibErr

8009

The type library for the Component cannot be read from the NT Registry. Please check if a valid directory location was specified for the Type Library while registering the component.

jagClTypeInfoErr

8010

The type information for the Component cannot be read from the Type Library. Regenerate TLB and REG files for the component.

jagClMethInfoErr

8011

The metadata for the method or component cannot be read from the NT Registry or the method is using parameter types that are not presently supported in the EAServer ActiveX proxy.

jagClMethNameErr

8012

The metadata for the method invoked on component cannot be read from the NT Registry. Regenerate TLB and REG files for the component.

jagClCompNameErr

8013

The component name for the component being instantiated cannot be read from the NT Registry.

jagClPkgNameErr

8014

The package name for the Component being instantiated cannot be read from the NT Registry.

jagClPxyCreateErr

8015

Component creation failed.

jagClPxyDestroyErr

8016

Component deletion failed.

jagClPxyFuncDescErr

8017

The metadata information for the method cannot be read from the type library.

jagClArgCountErr

8018

There was a mismatch between the number of parameters passed to method and the number of parameters as described by the information in the type library.

jagClInternalErr

8019

An error was encountered while invoking a component method.

jagClParamInfoErr

8020

The type information for a method parameter cannot be read from the Type Library.

jagClTypeMismatchErr

8021

There is a mismatch between type of the value passed as an argument with its specified type in the Type Library.

jagClConversionErr

8022

The data conversion attempted is presently not supported.

jagClArgUpdateErr

8023

An error was encountered while updating an input-output or output parameter for a method.

jagClRetValSetErr

8024

An error was encountered while updating the return value for amethod.

jagClRecsetArgErr

8025

The ResultSet type cannot be passed as a parameter in either the input or input-output modes by a EAServer ActiveX application.

jagClUnsuppTypeErr

8026

An unsupported OLE Automation type was used as a parameter in a method.

jagClAxConvertErr

8027

An error was encountered while converting a input-output method parameter received from the server.

jagClJagConvertErr

8028

An error was encountered while converting a input parameter prior to method invocation.

jagClNoInitErr

8029

A component instance must be created prior to invoking a method.

jagClRecordsetCreateErr

8030

An internal error was encountered while creating the Recordset object.

jagClRecordsetMoveErr

8031

Attempt to call MoveNext on a RecordSet which has its EOF property as TRUE.

jagClIteratorPosErr

8032

An invalid position was specified while attempting to retrieve an element from a collection.

jagClInvalidMethodErr

8033

The only method supported on the generic EAServer Object type is Narrow_.

jagClNarrowFailErr

8034

The object reference cannot be narrowed to the interface name specified.

jagClInvalidIntfErr

8035

The fully scoped interface name passed as an argument to the Narrow_ method is invalid.

jagClOrbInitErr

8036

An internal error was encountered while initializing client-side ORB.

jagClOrbStrToObjErr

8037

An internal error was encountered while invoking the ORB.string_to_object method.

jagClNotJagCollErr

8038

he parameter of the sequence type passed to the method is not a valid EAServer ActiveX Collection Object.

jagClInternalCollErr

8039

A fatal internal error occured while performing an operation on aEAServer Collection object.

jagClAxSSLCBRegErr

8040

A fatal internal error occured while registering user's ActiveX SSL Callback component. Verify that the directory containing the file jagproxy.dll is in the PATH.

jagClDuplicAxSSLCBCompErr

8041

The "AXSSLCBComponent" ORB property cannot be set more than once per session. An ActiveX SSL Callback component with a ProgID of progid has previously been registered for the present client session.

Usage

In Visual Basic, exceptions are mapped to the built-in Err object. The exception number maps to Err.Number and the description is available as Err.Description. You can handle exceptions by activating error handling code with On Error Goto statement or by checking whether Err.Number is > 0.

The proxy type library defines error numbers for client-side errors in the JagORBClientErrNum enumeration and server-side error numbers in the JagORBSrvErrNum enumeration.

See also

JagORBSrvErrNum enumeration