Loading video...
QuickNotes™ 
Exception Handling
- An error that arises through mistakes in coding or through incorrect data entered by the user is called an exception
- Such errors that are encountered while a program runs are said to be thrown
- Programmers try to anticipate these errors and either prevent or solve them before they happen
- Java uses the Try... Catch... process in order to try running a block of code to test for errors and then catch an error if it occurs
- All Try statements must be followed by at least one Catch statement or a Finally statement
- Exceptions that occur that are not handled by a Catch block of code or a Finally block will cause a program to terminate
Discussion 
Please login to ask a question and view discussion.














