-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
In several places we have code like this:
for ( final Future< Void > f : futures )
{
try
{
f.get();
}
catch ( final InterruptedException e )
{
e.printStackTrace();
}
catch ( final ExecutionException e )
{
e.printStackTrace();
}
}
This should be changed from e.printStackTrace() to something meaningful.
InterruptedException should Thread.currentThread().interrupt() and end method as fast as possible.
What should we do with ExecutionException? Just declare and throw it?
Metadata
Metadata
Assignees
Labels
No labels