Abstract out exception classes
Abstract out exception classes