chained exceptions : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

chained exceptions
If you catch an exception, then decide to rethrow a new one to be caught at a higher level, the information in the lower level exeception is lost unless you print it out right there. Instead, starting with Java version 1.4 you can pass the old exception as a parameter to the constructor of the new exception, thus combining the information from both the old and new exeception.

This page is posted
on the web at:

http://mindprod.com/jgloss/chainedexceptions.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\chainedexceptions.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.189.194.44]
You are visitor number