public function __construct($actionName, $reason = '', $params = array()) { $msg = "Action '{$actionName}' failed"; if (strlen($reason) > 0) { $msg .= "; reason is '{$reason}'"; } parent::__construct(500, $msg, $msg); }
public function __construct($actionName, $expected, $found) { $msg = "Action '{$actionName}' failed; expected '{$expected}', found '{$found}'"; parent::__construct(500, $msg, $msg); }
public function __construct($methodName) { $msg = "Method '{$methodName}' has not been implemented yet"; parent::__construct(500, $msg, $msg); }
public function __construct($methodName) { $msg = "Cannot find a suitable class for actions of type '{$methodName}'"; parent::__construct(500, $msg, $msg); }
public function __construct($elementType) { $msg = "Unknown DOM element type '{$elementType}'"; parent::__construct(500, $msg, $msg); }