标签:
< ?php try { $mgr = new CommandManager(); $cmd = $mgr->getCommandObject("realcommand"); $cmd->execute(); } catch (Exception $e) { print $e->getMessage(); exit(); } ?>
php try catch
原文地址:http://www.cnblogs.com/CyLee/p/5558167.html