Szel, Zoltan (IDEAS) wrote:
Hi,
> I agree with Maarten, if the r.lock() call would be outside the try
> block than the original exception would be propagated. Having a look
> at the RWDictionary example in the javadocs of
>
ReentrantReadWriteLock(http://java.sun.com/javase/6/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html),
> they have the call to the lock() method outside of the try block.
That example is part of the official documentation of
java.util.concurrent.locks.
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev