/** * Exception constructor * @staticvar string $message Exception message, generated once for all future exception of this type * @param \Exception $previous Exception that caused this exception, if any */ public function __construct(\Exception $previous = null) { static $message = ''; if (empty($message)) { $message = sprintf('Exceeded memory capability of %d items', PHP_INT_MAX); } parent::__construct($message, 0, $previous); }
/** * Builds a new exception * * @param mixed $name Name of the intended aggregator that failed * * @access public */ public function __construct($name) { parent::__construct('Aggregator named "' . htmlentities($name) . '" not found in current aggregator container'); }
public function __construct($message = 'Index not found in array/collection', $code = 0, $previous = NULL) { parent::__construct($message, $code, $previous); }
/** * Builds a new exception * * @param mixed $name Name of the intended sorter that failed * * @access public */ public function __construct($name) { parent::__construct('Sorter named "' . htmlentities($name) . '" is already present in current sorter container'); }
public function __construct($message = "", $code = 0, $previous = null) { parent::__construct($message, $code, $previous); //todo: generate error code. }
/** * Builds a new exception * * @param mixed $name Name of the intended join predicate that failed * * @access public */ public function __construct($name) { parent::__construct('Join predicate named "' . htmlentities($name) . '" not found in current join predicate container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended join predicate that failed * * @access public */ public function __construct($name) { parent::__construct('Join predicate named "' . htmlentities($name) . '" is already present in current join predicate container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended datasource that failed * * @access public */ public function __construct($name) { parent::__construct('Datasource named "' . htmlentities($name) . '" not found in current datasource container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended filter that failed * * @access public */ public function __construct($name) { parent::__construct('Filter named "' . htmlentities($name) . '" not found in current filter container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended transformer that failed * * @access public */ public function __construct($name) { parent::__construct('Transformer named "' . htmlentities($name) . '" not found in current transformer container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended datasource that failed * * @access public */ public function __construct($name) { parent::__construct('Datasource named "' . htmlentities($name) . '" is already present in current datasource container'); }
/** * Конструктор * */ public function __construct($message, $code, $file, $line) { $this->file = $file; $this->line = $line; parent::__construct($message, $code); }
/** * Builds a new exception * * @param mixed $name Name of the intended aggregator that failed * * @access public */ public function __construct($name) { parent::__construct('Aggregator named "' . htmlentities($name) . '" is already present in current aggregator container'); }
/** * Builds a new exception * * @param mixed $name Name of the group that failed * * @access public */ public function __construct($name) { parent::__construct('Group value "' . htmlentities($name) . '" is already present in current group container'); }
/** * Builds a new exception * * @param mixed $name Name of the intended group value that failed * * @access public */ public function __construct($name) { parent::__construct('Group value "' . htmlentities($name) . '" not found in current group container'); }