> What am I doing wrong?
The following code in exceptionDescribe only expects objects. I'll fix it
tomorrow. Submit it as a bug so I'll remember. . . .
-- Frank
if (is_instance_of(exc, FindClass(ee, JAVAPKG "Exception", FALSE), ee)) {
/* Object is an exception. */
execute_java_dynamic_method(ee, exc, "printStackTrace", "()V");
} else {
char buf[128];
printf("Uncaught exception of type %s\\n",
classname2string(classname(obj_classblock(exc)), buf, sizeof(buf)));
The following code in exceptionDescribe only expects objects. I'll fix it
tomorrow. Submit it as a bug so I'll remember. . . .
-- Frank
if (is_instance_of(exc, FindClass(ee, JAVAPKG "Exception", FALSE), ee)) {
/* Object is an exception. */
execute_java_dynamic_method(ee, exc, "printStackTrace", "()V");
} else {
char buf[128];
printf("Uncaught exception of type %s\\n",
classname2string(classname(obj_classblock(exc)), buf, sizeof(buf)));