Exceptions are thrown to handle error conditions.