compile exception thrown with class name