Exceptions
From Suhrid.net Wiki
Jump to navigationJump to search- Exceptions are a mechanism to detect and handle errors without writing special code to test return values.
- Error handling code for common errors can be handled in a single place.
- A try clause has to have either a catch clause or a finally clause or both.
- catch must follow try.
- finally must follow the last catch clause.