// them to Exceptions, unless they are in constructors,
// in which case remove them.
for (Iterator methods = theClass.getMethods().iterator(); methods
.hasNext();) {
SootMethod method = (SootMethod) methods.next();
JimpleBody body = (JimpleBody) method.retrieveActiveBody();
Chain units = body.getUnits();
for (Iterator stmts = units.snapshotIterator(); stmts.hasNext();) {
Stmt stmt = (Stmt) stmts.next();