commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Siebert <>
Subject Re: [VFS] Softening the exceptions...
Date Mon, 25 Oct 2010 14:53:59 GMT
+1 on this issue.

I use VFS on a couple projects and this is always a bit burdensome, and on
several occasions have indeed caught and rethrew RuntimeExceptions.  Even if
we can't/shouldn't soften them, what about typing them to be more specific?
 Having every method throwing a FileSystemException isn't always the most
helpful =)


On Mon, Oct 25, 2010 at 10:46 AM, James Carman

> What do you folks think about making the exceptions extend
> RuntimeException in 2.0?  I really find it tedious to do try/catch
> everywhere I want to ask a FileObject something (like if it exists or
> not).
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message