Returns the simple name of the class, for use in exception messages.