Show class name in exception message