Exception

« Back to Glossary Index

An exception is an event that disrupts normal program flow due to an error or unusual condition. Exceptions enable structured error handling. Proper handling improves robustness. Example: Catching a file-not-found exception.


← Back

« Back to Glossary Index