Viktor Klang wrote:
> final class Utils
> {
> public final static RuntimeException woBoilerplate(Exception e)
> {
> return (e instanceof RuntimeException) ? (RuntimeException)e :
> new RuntimeException(e);
> }
> }
>
>
For me, similar to Victor and Andreas, with the exception that part of
my rethrown are checked exceptions ;-)
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
[email protected] - mobile: +39 348.150.6941
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---