错误处理的思考
摘要:
def catchLogByHour(..., errorHandler): while ....: if hasError: errorHandler(...) def error1(...): ....catchLogByHour(...,error1)def error2(...): ....catchLogByHour(...,error2)def error#(...): ....catchLogByHour(...,error2) 阅读全文
posted @ 2013-12-26 19:26 codestyle 阅读(164) 评论(0) 推荐(0)
浙公网安备 33010602011771号