add variable class name in exception