Adding new exception classes and handlers