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
 


 
 

















































Disclaimer: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its GroupCompanies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorisation from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies.

Reply via email to