[OJB-developers] Exceptions once again
Brought to you by:
thma
From: <Joa...@tp...> - 2002-06-05 12:21:33
|
Hy, I once again stumbled over a case where the root exception is lost. This time it's in the ODMB-Implementation and throwing a ODMB-Exception which make the case a bit more complicated. My question is: Is it possible/legal to modify or subclass the ODMG-Exceptions while still beeing a compliant Implementation? (I don't have the ODMG-Standard (actually, I just found Version 1.2 of the Standard from 1993 some days ago for 2 Euro and bought it, but it doesn't have Java-Mappings in this Version ;-)). If this is not possible, we could introduce an Exception-Helper that let us set the cause for non-OJB-Exceptions without changeing their code. This class would do almost the exact same thing as what my Patch for PersistenceBrokerException does. I'd like to ask you what you think of such a class. Additionally I'd like to ask if this counts as a new "Feature" and therefore is forbidden, due to feature freeze. regards Joachim Sauer |