Exceptions
Exceptions are used to validate the data before the output is generated.
In this example, the exception will be thrown if the number of hours worked by an employee is greater than 3000.