better class name in logging and exceptions