@Test public void isInterrupted() { assertTrue(ExceptionUtils.isInterrupted(new InterruptedException())); assertTrue(ExceptionUtils.isInterrupted(new InterruptedIOException())); assertFalse(ExceptionUtils.isInterrupted(new IOException())); }
public static boolean isInterrupted(Throwable t) { return t instanceof InterruptedException || t instanceof InterruptedIOException; }
ExceptionUtils { public static boolean isInterrupted(Throwable t) { return t instanceof InterruptedException || t instanceof InterruptedIOException; } }
ExceptionUtils { public static boolean isInterrupted(Throwable t) { return t instanceof InterruptedException || t instanceof InterruptedIOException; } private  ExceptionUtils(); }
ExceptionUtils { public static boolean isInterrupted(Throwable t) { return t instanceof InterruptedException || t instanceof InterruptedIOException; } private  ExceptionUtils(); static boolean containsInterruptedException(Throwable t); static boolean isInterrupted(Throwable t); }
ExceptionUtils { public static boolean isInterrupted(Throwable t) { return t instanceof InterruptedException || t instanceof InterruptedIOException; } private  ExceptionUtils(); static boolean containsInterruptedException(Throwable t); static boolean isInterrupted(Throwable t);  }