> The second problem was due to the jde.util.JdeUtilities.classExists()
> method not specifically catching NoClassDefFoundError. We had coded this
> method with a catch (Exception ex) clause, thinking that would be
> sufficient to catch all errors but it wasn't.
>
No, that won't catch runtime exceptions and errors. The only way to
guarantee that you catch *everything* is to catch a Throwable. If that
is good or bad depends on what you are doing...


/John

-- 
LM/ERA/LVA/KD John Olsson  mailto:[EMAIL PROTECTED] 
   Ericsson Radio Systems AB, Box 1248, S-581 12 Linkoping
-------------------------------------------------------------
  Phone: +46 13 321070   ECN: 868 1070   Fax: +46 13 287370
-------------------------------------------------------------
I was doing object-oriented assembly when I was 1 year old...  
For some reason my mom insists on calling it "Playing with blocks"

Reply via email to