When an error occurs at Java™ run time, EGL places an error code in the system variable sysVar.errorCode and in most cases presents a message that has the same identifier as the error code. You can cause a customized message to be displayed in place of the EGL message; for details, see Message customization for EGL Java run time.
The error situations are as follows:
In those cases, the message identifier begins with VGJ.
The error codes that are assigned by the Java access functions are shown in the next table.
Value in sysVar.errorCode | Description |
---|---|
00001000 | An exception was thrown by an invoked method or as a result of a class initialization. |
00001001 | The object was null, or the specified identifier was not in the object space. |
00001002 | A public method, field, or class with the specified name does not exists or cannot be loaded. |
00001003 | The EGL primitive type does not match the type expected in Java. |
00001004 | The method returned null, the method does not return a value, or the value of a field was null. |
00001005 | The returned value does not match the type of the return item. |
00001006 | The class of an argument cast to null could not be loaded. |
00001007 | A SecurityException or IllegalAccessException was thrown during an attempt to get information about a method or field, or an attempt was made to set the value of a field that was declared final. |
00001008 | The constructor cannot be called; the class name refers to an interface or abstract class. |
00001009 | An identifier rather than a class name must be specified; the method or field is not static. |
Details on other error codes are available if you review the help-system navigation under the current topic. To find details on a specific error code that begins with CSO, EGL, or VGJ, use the help-system search facility.
Related reference
I/O error values
Message customization for EGL Java run time
errorCode