Exceptions have a class_name() method

The virtual class_name() method is used to show the exception class
in the error message