Add missing base exception class