RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-22 Thread Bodycombe, Andrew
@;utmb.edu] Sent: 21 October 2002 20:10 To: '[EMAIL PROTECTED]' Subject: RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION Date: Mon, 21 Oct 2002 14:13:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Hi all, I tried out th

[OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Shapira, Yoav
Hi, Did you try: try { ... do something... } catch(Exception e) { Throwable cause = e.getCause(); ... do whatever you want with the cause ... } By the way, as this is not a tomcat question, please either post somewhere appropriate (comp.lang.java.help for example), or at least add OFF-TOPIC

RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
@;mpi.com] Sent: Monday, October 21, 2002 11:17 AM To: Tomcat Users List Subject: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION Hi, Did you try: try { ... do something... } catch(Exception e) { Throwable cause = e.getCause(); ... do whatever you want with the cause ... } By the

RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
(); System.out.println(e.getCause()); } Can anyone help. Thanks, Vikas. -Original Message- From: Shapira, Yoav [mailto:Yoav.Shapira@;mpi.com] Sent: Monday, October 21, 2002 11:17 AM To: Tomcat Users List Subject: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION Hi, Did you