The javaLib.qualifiedTypeName() system function returns the fully qualified name of the class of an object in the EGL Java™ object space.
For more about the EGL Java object space in which javaLib.qualifiedTypeName() and similar functions operate, see Java access functions. EGL maintains this method of Java access for compatibility with earlier versions. For new code, use the more powerful ExternalType syntax; for more information, see ExternalType part.
javaLib.qualifiedTypeName(identifier javaObjId in) returns (result STRING)
The following example returns the class name associated with the specified ID:
myClassName = javaLib.qualifiedTypeName("myId" as "objID:java");
If the v60ExceptionCompatibility program property is not set, or is set to NO, an exception causes EGL to throw a JavaObjectException. Other errors cause EGL to throw a RuntimeException.
If the v60ExceptionCompatibility program property is set to YES, an error during processing of javaLib.qualifiedTypeName() can set sysVar.errorCode to a value listed in the next table.
Value in sysVar.errorCode | Description |
---|---|
00001001 | The object had a null value, or the specified identifier was not in the object space |