updated the exception classes