could we pass a real exception instead of a classname?