Re: Exception handling

2003-02-13 Thread Per Nyfelt
Thanks for the info Lars and Vladimir, Looks like they use older version that does not contain the additions you mentioned... Best regards, Per On Wednesday 12 February 2003 15.20, Lars Martin wrote: I have noticed a lot of code like: } catch (Exception e) { throw new XMLDBException(

Re: Exception handling

2003-02-12 Thread Lars Martin
I have noticed a lot of code like: } catch (Exception e) { throw new XMLDBException( blah, e.getMessage() ); } which is really hard to work with when debugging, as most of the information about the exception is lost. Of course, they don't use the chained exception mechanism I implemented

Exception handling

2003-02-12 Thread Lars Martin
it in the CVS. I don't see another possibility to improv= e the=20 exception handling. Does Java check the final at runtime or only at com= pile=20 time? If it just checks it at compile time, it would not be a problem i= f=20 people used an xmldb.jar from another source