/** * This constructor creates a new Overflow Exception. * * @access public * @param string $message the error message * @param array $variables the translation variables * @param integer $code the exception code */ public function __construct($message = '', array $variables = null, $code = 0) { parent::__construct(empty($variables) ? (string) $message : strtr((string) $message, $variables), (int) $code); $this->code = (int) $code; // Known bug: http://bugs.php.net/39615 }
public function __construct($message = "", $code = 0, $previous = null) { parent::__construct($message, $code, $previous); //todo: generate error code. }
public function __construct($message = 'Operation resulted in a value overflow', $code = 0, $previous = NULL) { parent::__construct($message, $code, $previous); }
/** * Конструктор * */ public function __construct($message, $code, $file, $line) { $this->file = $file; $this->line = $line; parent::__construct($message, $code); }
/** * @see parent * * @param string $message * @param array $arguments */ public function __construct($message, $arguments) { parent::__construct($message, 0, null); $this->_arguments = $arguments; }