EGL Reference Guide for iSeries


EGL Java run-time error code VGJ1003E

VGJ1003E: %1 failed. The type of a value in EGL does not match the type expected in Java for %2. The error message is %3

Explanation

The type of a value passed to a Java access function is not correct.

User Response

Values assigned to fields, and parameters passed to methods and constructors, must have the proper type. An exact match is not required as long as the conversion between the types is valid in Java. For example, a subclass may be used instead of its superclass, and a smaller primitive type, such as short, may be used instead of a larger one, such as int.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]