Java force catch RuntimeException?

Posted by wuntee on Stack Overflow See other posts from Stack Overflow or by wuntee
Published on 2010-04-30T04:10:53Z Indexed on 2010/04/30 4:17 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

Is it possible to force java to make you catch RuntimeExceptions? Specifically I am working with the Spring framework and the whole Exception hierarchy is based upon RuntimeExceptions. A lot of the times I forget to try and catch the Exceptions. A specific example is when doing an LDAP query, or an SQL call.

© Stack Overflow or respective owner

Related posts about runtime

Related posts about exception