yeah, that should be rethrowing those exceptions. i just fixed that in the trunk.

-- Allen


Jeffrey Blattman wrote:
the code for HibernatePersistenceStrategy.flush():

/    public void flush() throws RollerException {
       Session session = getSession();
       try {
           session.getTransaction().commit();
       } catch(Throwable t) {
           // uh oh ... failed persisting, gotta release
           release();
       }
   }
/
is there a reason why it does not propagate the Throwable by throwing a RollerException? for example, the user tries to post >64k of content to a weblog. no exception is thrown. it looks like success to the user, but the entry is not there.

?

thanks.

Reply via email to