the class SQLException has a method :
 SQLException getNextException()
see the API for more information, or Google.

--- subbu <[EMAIL PROTECTED]> wrote:
> Can u explain how cau u do it...
> regards
> subbu
>   ----- Original Message -----
>   From: Adrian Janssen
>   To: [EMAIL PROTECTED]
>   Sent: Tuesday, June 17, 2003 2:48 PM
>   Subject: Re: Nested Exception Handling
>
>
>   yes
>
>   > -----Original Message-----
>   > From: subbu [SMTP:[EMAIL PROTECTED]
>   > Sent: 17 June 2003 09:16
>   > To:   [EMAIL PROTECTED]
>   > Subject:      Nested Exception Handling
>   >
>   > Is it possible to do Exception handling  using nested Exception....
>   >
>   > Example :
>   >
>   > ie:  com.ibm.websphere.cpi.CPIException: java.sql.SQLException: ORA-02291:
>   > integrity constraint (xxx.yyy_Szzzzz_FK) violated - parent
>   > key not found
>   > ; nested exception is:
>   >      java.sql.SQLException: ORA-02291: integrity constraint
>
>   > in this above stacktrace  i need to write exception handling for only
>   > java.sql.SQLException
>
>
>


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’ [EMAIL PROTECTED] 
[EMAIL PROTECTED]

 "Democracies die behind closed doors," - Judge Damon Keith

 "The people of this country, not special interest big money, should be
the source of all political power. Government must remain the domain of
the general citizenry, not a narrow elite." - Sen. Paul Wellstone



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to