} catch (IllegalAccessException e) {
tr.addError(theClazz, e);
} catch (IllegalArgumentException e) {
tr.addError(theClazz, e);
}
if ( !tr.wasSuccessful() ){
sresult.setSuccessful(false);
StringBuilder buf = new StringBuilder();
StringBuilder buftrace = new StringBuilder();
Enumeration<TestFailure> en;
if (getAppendError()) {