Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Automated exception handling

From Wikipedia, the free encyclopedia
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Automated exception handling" – news ·newspapers ·books ·scholar ·JSTOR
(February 2024) (Learn how and when to remove this message)

Automated exception handling is acomputing term referring to the computerized handling of errors.[1]Runtime systems (engines) such as those for theJava programming language or.NET Framework lend themselves to an automated mode of exception or error handling. In these environments, software errors do not crash theoperating system or runtime engine, but rather generate exceptions.[2] Recent advances in these runtime engines enables specialized runtime engine add-on products to provide automatedexception handling that is independent of the source code and provides root-cause information for every exception of interest.[citation needed]

How it works

[edit]

Upon exception, the runtime engine calls an error interception tool that is attached to the runtime engine (e.g.,Java virtual machine (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 adebugger screen (as if there had been a debugger) at the moment of the exception.

Effects

[edit]

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

References

[edit]
  1. ^"Getting started with Exception handling".EdgeVerve. 7 February 2024. Retrieved7 February 2024.
  2. ^"Automatic exception handling in conditions".IBM. 2 February 2024. Retrieved7 February 2024.


Stub icon

Thiscomputer science article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Automated_exception_handling&oldid=1218519441"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp