Adding exception classes