Adding the exception classes