Extended exception to include class name