Exception chaining: Difference between revisions

Content deleted Content added
wikify, reword, cat
m dab
Line 1:
'''Exception chaining''' is the process of designing and implementing [[exception handling|exception handler]]s in an application so that individual [[exceptionException handling|exceptions]]s can be handled by one or more handlers in a [[Hierarchy (object-oriented programming)|hierarchical]] manner. For example, in an [[object-oriented programming]] [[model]], [[nested]] objects may receive exceptions at the lowest level. The object decides if it needs to handle the exception, and, if needed, can reraise the exception, sending it up the line. One example of the usefulness of this technique is [[mouse click]] handling. If youthere wantis to bea ableneed to dynamically control what object responds to a click, exception chaining is usually the most efficient way to accomplish this.
 
[[Category:Programming]]