|
@@ -99,11 +99,11 @@ public class InterfaceSuite {
|
|
|
private boolean irun(TGenerator generator) {
|
|
private boolean irun(TGenerator generator) {
|
|
|
Class<?> type = generator.get().getClass();
|
|
Class<?> type = generator.get().getClass();
|
|
|
Counter counter = new Counter();
|
|
Counter counter = new Counter();
|
|
|
- List<Exception> errors = new ArrayList<>();
|
|
|
|
|
|
|
+ List<Throwable> errors = new ArrayList<>();
|
|
|
methods.stream().filter((m)->m.accept(type)).forEach((m)->{
|
|
methods.stream().filter((m)->m.accept(type)).forEach((m)->{
|
|
|
try {
|
|
try {
|
|
|
m.run(counter, generator);
|
|
m.run(counter, generator);
|
|
|
- } catch(Exception cause) {
|
|
|
|
|
|
|
+ } catch(Throwable cause) {
|
|
|
errors.add(cause);
|
|
errors.add(cause);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|