Back

Addressing Exception

Idealogic’s Glossary

The term addressing exception deals with the way through which certain occurrences that are not expected to occur in the course of the program are managed. This process can be defined as the identification of the source of the problem, the diagnosis of the cause of the problem, and the treatment of the problem.

Lack of such measures will make the software to be unstable and therefore not suitable for use in carrying out business activities. This is an elementary aspect of quality assurance testing, which specifies that incidents must be closed, for instance, to prevent the program from crashing or becoming susceptible to other disorders.

It is one of the fundamental aspects of software development and quality assurance because it is the way of managing situations which are not anticipated to occur in the program. An exception is raised when a program is faced with an event that it cannot solve with its normal execution, for instance, trying to access memory that is not valid or an element in the array that is beyond its range. The procedure of handling these exceptions includes determining the cause of the problem, determining the type of the problem that has occurred and then finding the solution to stop the program and continue with the rest of the code or make the program terminate gracefully.

If there is no such mechanism, the software application may become unstable, and cause crashes, data corruption or other severe problems that make the software unreliable and of little use. In the business critical applications, such instability may results to severe consequences like data loss, poor productivity or even losses. Consequently, an exception is not just a bug that needs to be fixed; it is a way of improving the software’s resilience in order for it to respond adequately to unexpected situations.

Exception handling is one of the important factors that may be considered in quality assurance testing. This involves making the software run in different scenarios of errors and then determining whether the software has managed the errors in the right way as for example by catching the error, informing the user or even terminating the program. Of these potential incident loops, developers can close them and thereby prevent the small issues that can cause a big issue and thus improve the software reliability. This approach of handling exceptions is very relevant as it assist in the production of good quality software that will meet the needs of the users and other businesses.