Lines Matching defs:exceptions
50 // NO exceptions expected
55 final Collection<Class<?>> exceptions;
57 exceptions = NONE;
60 exceptions = Collections.<Class<?>>singleton(expected[0]);
62 exceptions = new HashSet<>(Arrays.asList(expected));
64 return exceptions;
110 // On some architecture we may need to accept several exceptions.
117 Test(String name, Collection<Class<?>> exceptions, int state)
126 for (Class<?> exception : exceptions) {
136 && !exceptions.isEmpty()) {
138 // exceptions we expected.
142 } else if (exceptions.isEmpty()) {
152 if (!exceptions.isEmpty()) {
155 + exceptions.iterator().next());