put back method name in error printing to make troubleshooting easier

getClass.getName actually doesn't return method name