World Library  
Flag as Inappropriate
Email this Article

Automated exception handling

Article Id: WHEBN0011102669
Reproduction Date:

Title: Automated exception handling  
Author: World Heritage Encyclopedia
Language: English
Subject: Exception handling, Java programming language, Java (programming language), Run time (program lifecycle phase), Java virtual machine
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Automated exception handling

"Automated exception handling' is a computing term referring to the computerized handling of errors. Runtime engines such as those for the Java language or Microsoft .Net lend themselves to an automated mode of exception or error handling. In these environments software errors do not "crash" the operating system or the runtime engine but rather generate exceptions. Recent advances in these runtime engines enables specialized runtime-engine add-on products to provide automated exception handling that is independent of the source code and provides root-cause information for every exception of interest.

How it works

Upon exception, the runtime engine calls an error interception tool that is attached to the runtime engine (e.g. JVM). Based on the nature of the exception such as its type and the class and method in which it occurred and based on user preferences, an exception can be either handled or ignored.

If the preference is to handle the exception, then based on handling preferences such as memory search depth, the error interception utility extracts memory values from heap and stack memories. This snapshot then produces the equivalent of a debugger screen (as if there had been a debugger) at the precise moment of the exception.

Advantages

This mechanism enables the automated handling of software errors independent of the source code of the application and independent of its developers. It is a direct artifact of the runtime engine paradigm and it enables unique advantages to the software lifecycle that were not available before.

References

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.