denuno/railo — comment on commit b07e23a334e262a7093c5ff3b6d9f8fa35949919
File:  line 0
By micstriit:

new ever catch a RuntimeException, the only exception is "java.lang.Throwable" because this catch all Exceptions, including RuntimeExceptions.
if you have to catch a RuntimeException something is wrong in the code, in this example perhaps we have todo something like:
... session=session();
if(session==null) throw ...;

why does session() return null, that is the real question here