run方法的规范写法： log and throw