The try...catch statement consists of a try block along with either a catch block, a finally block, or both. The code within the try block runs initially, and if it raises an exception, the code within the catch block will execute. The code within the finally block will always execute before the control flow exits the entire construct.