pojosontheweb / woko

POJOs on the Web !
http://www.pojosontheweb.com
Apache License 2.0
9 stars 1 forks source link

HibernateStore hides user exceptions #229

Closed vankeisb closed 9 years ago

vankeisb commented 9 years ago

HibernateStore.doInTransaction catches exceptions and wraps them into RuntimeExceptions. Therefore the caller cannot catch his own exceptions, even if they are runtime.

Do not wrap systematically, instead check if the exception is already a runtime.

imclem commented 9 years ago

Build Success with -Pwebtests.