Issue #2252839 by pifagor, sergeypavlenko, alex_optim, mikeryan: Include class name when showing exceptions