🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17546

ExceptionChained component: how may I get the error string?

#17546
From: C Javier Castro Pe�a
Date: Thu, 29 Oct 1998 00:00
7 lines
940 bytes
The JDBC driver is sending an error, that I can not get as usually,
because it is a chained exception. If I use the getChainedException
(from DataSetException), I can get the reference to the first element of
the chain. But I was not able to get the error string, because there is
no 'getMessage()' method in the ExcepcionChained component.

Is there a way to get this string (or another better way)?
Technical Details
Message-ID: <36390F41.B17B1DBD@ittc.ukans.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,12d11051075f4753,start
X-Google-Attributes: gidf74b3,public
From: "C Javier Castro Pe�a" <jcaspen@ittc.ukans.edu>
Subject: ExceptionChained component: how may I get the error string?
Date: 1998/10/29
Message-ID: <36390F41.B17B1DBD@ittc.ukans.edu>
X-Deja-AN: 406507486
Content-Transfer-Encoding: 7bit
Organization: ITTC - University of Kansas
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language