type_name class attribute set with original exception class name