Introduction to Threads

Whenever an error is encountered while executing a program, an Exception occurs.
An Exception occurs at run time in a code sequence.
Every exception that is thrown must be caught, or the application terminates abruptly.
Exception handling allows combining error processing in one place.
Java uses the try and catch block to handle exceptions.