2012/3/29 Filip Hanik (mailing lists) <[email protected]>:
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]]
>> Sent: Tuesday, March 27, 2012 8:51 PM
>> To: [email protected]
>> Subject: svn commit: r1306130 - in
>> /tomcat/trunk/java/org/apache/catalina/startup: LocalStrings.properties
>> UserConfig.java
>>
>> +        for (Future<?> result : results) {
>> +            try {
>> +                result.get();
>> +            } catch (Exception e) {
>> +
>> host.getLogger().error(sm.getString("userConfig.deploy.threaded.error"),
>> e);
>> +            }
>> +        }
>>      }
> [Filip Hanik]
> If results[0].get() fails, are you not going to wait for the others to 
> complete?
>

If results[0].get() fails, I am going to wait for the others to complete.
Thus I implemented try-catch inside a loop.
Is there wrong code in this rev?
Or don't I understand your comment correctly?

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Keiichi.Fujino

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to