Get exception's class name.