Created
November 28, 2017 16:49
-
-
Save boserup/d9f16c69cb222e57e4bf335371056769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
catalogue.getEntries().parallelStream().forEach( | |
e -> { | |
try { | |
Product product = e.getProduct(); | |
// ... | |
} catch (RemoteException exn) { | |
throw new Error("Remote failure: " + exn); | |
} catch (BadLocationException e) { | |
throw new Error("Internal error: bad text location in GUI"); | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment