NoClassDefFoundError
is
a subclass of Error
and
not an Exception
.
Hence you need to use:
try {
new org.eclipse.cdt.utils.AR();
}
catch(NoClassDefFoundError e) {
//handle carefully
}
how-to-catch-java-lang-noclassdeffounderror
NoClassDefFoundError
is
a subclass of Error
and
not an Exception
.
Hence you need to use:
try {
new org.eclipse.cdt.utils.AR();
}
catch(NoClassDefFoundError e) {
//handle carefully
}
how-to-catch-java-lang-noclassdeffounderror