Skip to content

Commit

Permalink
fix: N5IOException relaxed forwarded parameter to Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
axtimwalde committed Feb 16, 2024
1 parent a03fbc7 commit 002e4f8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/org/janelia/saalfeldlab/n5/N5Exception.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.janelia.saalfeldlab.n5;

import java.io.IOException;

public class N5Exception extends RuntimeException {

public N5Exception() {
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -96,5 +94,4 @@ protected N5ClassCastException(
super(message, cause, enableSuppression, writableStackTrace);
}
}

}

0 comments on commit 002e4f8

Please sign in to comment.