} else {
try {
call_user_func("$action_class::run", $args);
- } catch (ClientException $cex) {
- $cac = new ClientErrorAction($cex->getMessage(), $cex->getCode());
+ } catch (ClientException $e) {
+ $cac = new ClientErrorAction($e->getMessage(), $e->getCode());
$cac->showPage();
- } catch (ServerException $sex) { // snort snort guffaw
- $sac = new ServerErrorAction($sex->getMessage(), $sex->getCode(), $sex);
+ } catch (ServerException $e) { // snort snort guffaw
+ $sac = new ServerErrorAction($e->getMessage(), $e->getCode(), $e);
$sac->showPage();
- } catch (Exception $ex) {
- $sac = new ServerErrorAction($ex->getMessage(), 500, $ex);
+ } catch (Exception $e) {
+ $sac = new ServerErrorAction($e->getMessage(), 500, $e);
$sac->showPage();
}
}