Kees Jongenburger wrote:
> > When browsing the source of the Node-interface, I was more than
> > surprised to find out that some of the most crucial methods, such as
> > commit() and delete(), don't expicitly throw any exceptions. You must
> > assume that any class calling these methods is *very* much interested in
> > anything going wrong while storing data into the backend. In our case,
> > the tool is doing some transactionallly based stuff which must
> > atomically commit as a whole. Currently, our tool doesn't have any clue
> > when things blow up on the MMBase-side.
> Hi , 
> 
> Are you saying the bridge in not throwing exceptions, or that they are
> not documeted?

I think that what is meant is that BridgeExceptions are RuntimeExcpeptions
not mentioned in the throw clause, so no compile-time warning follows if you
don't surround try/catch.

There was some argument for BridgeExceptions not being explicitely thrown,
but it has escaped me...


Michiel

-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to