Object Integrity & Security: Error & Exceptions, Page 6
Designing a strong and effective error handling mechanism is one of the most important considerations when building an application. The object-oriented languages used today provide a solid foundation for exception handling that is built directly into the languages themselves.
This means that the compiler handles much of the anomaly checking that is done. The compiler will in fact determine whether your code does not provide exception handling for certain exceptions. When this happens, you will not be able to compile your code unless you comply with the languages exception-handling model.
There are a lot of subtle issues involved when designing your anomaly handling strategies.
About the Author
Matt Weisfeld is a faculty member at Cuyahoga Community College (Tri-C) in Cleveland, Ohio. Matt is a member of the Information Technology department, teaching programming languages such as C++, Java, C#, and .NET as well as various web technologies. Prior to joining Tri-C, Matt spent 20 years in the information technology industry, gaining experience in software development, project management, business development, corporate training, and part-time teaching. Matt holds an MS in computer science and an MBA in project management. Besides The Object-Oriented Thought Process, which is now in its second edition, Matt has published two other computer books, and more than a dozen articles in magazines and journals such as Dr. Dobb's Journal, The C/C++ Users Journal, Software Development Magazine, Java Report, and the international journal Project Management. Matt has presented at conferences throughout the United States and Canada.