public function __construct($action, $msg, $code = 0) { if (!$action instanceof DF_Web_Action) { throw new DF_Error_InvalidArgumentException("action", $action, "DF_Web_Action"); } parent::__construct($msg, $code); $this->action = $action; }
public function __construct($msg, $code = 0) { parent::__construct($msg, $code); }