output which argument is being processed when an invalid class name is encountered (closes #2145)