Make exception class subclass