same InterruptedIOException in all cases

This commit is contained in:
Sebastian Stenzel
2016-01-16 01:00:57 +01:00
parent 51f5b6661f
commit fa35b63b6d
5 changed files with 9 additions and 29 deletions
@@ -1,14 +0,0 @@
package org.cryptomator.common;
public class UncheckedInterruptedException extends RuntimeException {
public UncheckedInterruptedException(InterruptedException e) {
super(e);
}
@Override
public InterruptedException getCause() {
return (InterruptedException) super.getCause();
}
}