Hi,
I have created a solution to check if a java class is available. In debug mode sometimes java classes are not found. So I added to following check to my code to check if a class is available in debug mode:
In the java layer:
public boolean checkIfClassExists(String className) {
try {
Class.forName(className, false, getClass().getClassLoader());
return true;
} catch(Exception e) {
return false;
}
}
EGL layer:
function checkIfClassExistsInDebugMode(className String in) returns(boolean)
DMGJavaUtilExt DMGJavaUtilExt = new DMGJavaUtilExt(){};
return (DMGJavaUtilExt.checkIfClassExists(className) and !(sysVar.systemType IS DEBUG));
end
In the EGL library I keep getting an error/message:
[EglRuiDiv EglRuiDiv EglRuiBox EglRuiEmailadresField] com.ibm.etools.egl.interpreter.parts.runtime.RuntimeExceptionContainer
How to prevent/suppress this message.
Regards,
Marcel
#SupportMigration#HCLRational#Support