System.out.println("Collected output running: " + methodname);
System.out.println(oso.toString());
System.out.println(ose.toString());
}
if (exception != null) {
throw new ResultException(exception, oso.toString().replace("\r", ""), ose.toString().replace("\r", ""));
} else {
return new Result(result, oso.toString().replace("\r", ""), ose.toString().replace("\r", ""));
}
}