Hi
I am working on code a contractor wrote and saw the following:
static Class _mthclass$(
String x0)
{
return Class.forName(x0);
ClassNotFoundException x1;
x1;
throw (new NoClassDefFoundError()).initCause(x1);
}
I would thinks that it should look like this:
static Class _mthclass$(String x0)
{
try
{
return Class.forName(x0);
}
catch(ClassNotFoundException x1)
{
throw new NoClassDefFoundError(x1.getMessage());
}
}
Is the first set of code A way to handle exceptions in
Java 5 or is it just something that I have been missing all this time?