Home | History | Annotate | Download | only in io

Lines Matching refs:throwable

96       } catch (Throwable e) {
101 } catch (Throwable expected) {
122 } catch (Throwable e) {
127 } catch (Throwable expected) {
149 } catch (Throwable expected) {
170 } catch (Throwable expected) {
193 } catch (Throwable e) {
198 } catch (Throwable expected) {
224 } catch (Throwable expected) {
250 } catch (Throwable e) {
255 } catch (Throwable expected) {
280 } catch (Throwable expected) {
339 } catch (Throwable e) {
352 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException));
364 static Throwable[] getSuppressed(Throwable throwable) {
366 Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed");
367 return (Throwable[]) getSuppressed.invoke(throwable);
389 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
399 private final Throwable thrown;
400 private final Throwable suppressed;
402 private Suppression(Closeable closeable, Throwable thrown, Throwable suppressed) {
436 private final Throwable throwOnClose;
443 static TestCloseable throwsOnClose(Throwable throwOnClose) throws IOException {
451 private TestCloseable(@Nullable Throwable throwOnClose) {