diff --git a/src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java b/src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java index 4a2bc097..bbdba530 100644 --- a/src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java +++ b/src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java @@ -1,7 +1,5 @@ package org.janelia.saalfeldlab.n5; -import java.io.IOException; - public class N5Exception extends RuntimeException { public N5Exception() { @@ -40,12 +38,12 @@ public N5IOException(final String message) { super(message); } - public N5IOException(final String message, final Exception cause) { + public N5IOException(final String message, final Throwable cause) { super(message, cause); } - public N5IOException(final Exception cause) { + public N5IOException(final Throwable cause) { super(cause); } @@ -96,5 +94,4 @@ protected N5ClassCastException( super(message, cause, enableSuppression, writableStackTrace); } } - }