Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Jan 13, 2025
1 parent f99a27a commit bff9302
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

/** This exception indicates a request was interrupted. */
public final class OperationInterruptedException extends LocalException {
public OperationInterruptedException() {
super(null);
}

public OperationInterruptedException(Throwable cause) {
super(null, cause);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public List<com.zeroc.Ice.LocatorPrx> getLocators(String instanceName, int waitT
}
}
} catch (InterruptedException ex) {
throw new com.zeroc.Ice.OperationInterruptedException();
throw new com.zeroc.Ice.OperationInterruptedException(ex);
}

// Return found locators
Expand Down

0 comments on commit bff9302

Please sign in to comment.