Skip to content

Commit

Permalink
Change desc of an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar122 committed Sep 11, 2023
1 parent dcbdd22 commit 0f86ed8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void browse(File file) throws IOException {
else if (Desktop.getDesktop().isSupported(Desktop.Action.OPEN)){
Desktop.getDesktop().open(file);
}else{
throw new UnsupportedOperationException("Browser not supported.");
throw new UnsupportedOperationException("Neither open nor browse are supported");
}
}
else {
Expand Down

0 comments on commit 0f86ed8

Please sign in to comment.