摘要 |
<p>The present subject matter discloses a method and a system for handling exceptions in a program. In one implementation, a component of the program is analyzed to determine one or more exceptions. An interface header file associated with the component may then be analyzed to ascertain sections of code for which the one or more exceptions have been determined within the component. Based on the ascertained sections of code, any undefined exceptions from among the one or more exceptions are identified. The undefined exception may be defined, based on the identifying, by defining an exception handler for the at least one undefined exception in the program.</p> |