try, catch, finally, and throw allow you to handle exceptions in your code.
var processor = new InputProcessor();
// The code within the try block will be executed. If an exception occurs during execution of
// this code, execution will pass to the catch block corresponding to the exception typ...