Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

Appendix B Exception Type List

The exception types that can be acquired by the GET-CODE method of the FJ-JAVA-ERROR class are described in this Appendix.

1

Meaning

Java VM detected an error. Remove the error cause.

Response

The Java VM detected an execution-time error. Determine the error cause from the exception information returned by the GET-EXCEPTION method of FJ-JAVA-ERROR class, and remote it.

2

Meaning

No Java method is found. Check whether the Java class/interface was changed after execution of the J adapter class generator.

Response

The Java class/interface was probably changed after generation of an adapter class. Check the Java class/interface.

3

Meaning

Java class initialization failed. Call the J adapter class generator supplier.

Response

The J adapter class generator failed. Collect failure information. Collect failure information. Please open a support incident to obtain assistance from a supplier.

4

Meaning

A memory space shortage occurred. Increase the values of environment variables (COBJNI_MAX_NSTACK, COBJNI_JAVA_STACK, COBJNI_MIN_HEAP, and COBJNI_MAX_HEAP), then retry.

Response

A memory space shortage occurred in the Java VM. Increase the values of environment variables (COBJNI_MAX_NSTACK, COBJNI_JAVA_STACK, COBJNI_MIN_HEAP, and COBJNI_MAX_HEAP) to increase memory space available for the Java VM.

5

Meaning

No Java field is found. Check whether the Java class/interface was changed after execution of the J adapter class generator.

Response

The Java class/interface was probably changed after generation of an adapter class. Check the Java class/interface.

6

Meaning

The subscript of the array object is invalid. Specify a subscript within the array range.

Response

The subscript value is outside the range from "0 to (element count - 1)." Specify a valid subscript.

7

Meaning

The adapter class generated by the J adapter class generator contains a Java class name in invalid format. Contact the J adapter class generator supplier.

Response

The J adapter class generator failed. Collect failure information. Collect failure information. Please open a support incident to obtain assistance from a supplier.

8

Meaning

A same name is used for a parent and its child in the Java class/interface definition. Use different names for the parent and child.

Response

The Java class/interface definition contains an error. Check the Java class/interface.

9

Meaning

The class of the set object is invalid. Specify a subclass of the array element class.

Response

An attempt was made to set an invalid class object in an array element. Set an object of a valid class. An object of the array element class or its subclass can be set.

10

Meaning

A required Java class/interface definition is not found. Check the environment variable (COBJNI_CLASSPATH).

Response

No Java class/interface is found on the search path. Check whether the value of the environment variable (COBJNI_CLASSPATH) is valid.

11

Meaning

No Java interface/abstract class instance can be generated. Check whether the Java class/interface was changed after the J adapter class generator was executed.

Response

A constructor was executed in an abstract class. The Java class/interface was probably changed after generation of an adapter class. Check the Java class/interface.

12

Meaning

Java VM initialization failed. Check the environment variables (PATH, COBJNI_CLASSPATH) and JDK or JRE install environment.

Response

The JDK, J2SDK, JRE, or J2RE environment contains an error. Check whether the environment variables PATH and COBJNI_CLASSPATH are normal or whether JDK, J2SDK, JRE, or J2RE is installed normally.

13

Meaning

The character string could not be fetched from the String object. Call the J adapter class generator supplier.

Response

The J adapter class generator failed. Collect failure information. Please open a support incident to obtain assistance from a supplier.

14

Meaning

Type conversion failed. Check the parameter passed to the J-NARROW method.

Response

The object specified in the parameter is not a subclass or object of the class. Check the parameter of the J-NARROW method.

15

Meaning

An internal logical error (inconsistency between the return value and object reference) occurred. Call the J adapter class generator supplier.

Response

The J adapter class generator failed. Collect failure information. Please open a support incident to obtain assistance from a supplier.

16

Meaning

Java VM detected an error. Remove the error cause. (exception name: supplementary information)

Response

The Java VM detected an execution-time error. Determine the error cause from the exception name and supplementary information and remote it.

17

Meaning

An internal logical error (failure of the error detecting feature) occurred. Call the J adapter class generator supplier.

Response

The J adapter class generator failed. Collect failure information. Please open a support incident to obtain assistance from a supplier.

18

Meaning

The current thread could not be connected to Java VM.

Response

Check whether the program normally invokes the JVM-INIT method or the JVM-ATTACH method.

19

Meaning

The current thread could not be disconnected from Java VM.

Response

Check whether the program normally invokes the JVM-TERMINATE method or the JVM-DETACH method.