Skip to content

Commit

Permalink
Receive thrownException in RemoteProgressBarReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Oct 8, 2023
1 parent fa41e6e commit 6d5c47d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ protected boolean removeEldestEntry(Map.Entry<UUID, RemoteProgressMessage> eldes
}

switch (message.getType()) {
case Exception:
if (message.getMessage() != null) {
throw RemoteException.decode(message.getMessage());
}
break;
case IntermediateResult:
delegate.intermediateResult(message.getMessage());
break;
Expand Down

0 comments on commit 6d5c47d

Please sign in to comment.