{
// $e = Exceptions.caught($e)
JMethod caughtMethod = program.getIndexedMethod("Exceptions.caught");
JMethodCall call = new JMethodCall(catchInfo, null, caughtMethod);
call.addArg(new JLocalRef(catchInfo, exVar));
newCatchBlock.addStmt(program.createAssignmentStmt(catchInfo,
new JLocalRef(catchInfo, exVar), call));
}
/*
* Build up a series of if, else if statements to test the type of the