public function __construct($input, $code = 0, Exception $previous = null)
 {
     $message = 'The array provided for the XML tag is ';
     $message .= count($input) < 1 ? 'too short' : 'too big. ';
     $message .= 'Size expected : 2.';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($code = 0, Exception $previous = null)
 {
     $message = 'The array provided for the tag creation doesn\'t match with the require format';
     $message .= 'Require format : array("title" => "tag title", "content" => "tag content",';
     $message .= '["options" => "options for the tag"]';
     parent::__construct($message, $code, $previous);
 }
 /**
  * @param string $fileName
  * @param int $configEntry
  * @param int $code
  * @param Exception $previous
  */
 public function __construct($fileName, $configEntry, $code = 0, Exception $previous = null)
 {
     $message = 'Missing config entry ' . $configEntry . ' from config file ' . $fileName . '!';
     parent::__construct($message, $code);
     if (!is_null($previous)) {
         $this->previous = $previous;
     }
 }
 public function __construct($code = 0, Exception $previous = null)
 {
     $message = 'Database configuration not set in database provider. Call connect() ?';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message, $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
Example #6
0
 public function __construct($version)
 {
     parent::__construct("Multiple migrations have the version number {$version}");
 }
 public function __construct($className, $code = 0, Exception $previous = null)
 {
     parent::__construct($className . ' is not a valid class.', $code, $previous);
 }
 public function __construct($file, $code = 0, Exception $previous = null)
 {
     $message = 'The file ' . $file . ' was not found !';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($fileName, $code = 0, Exception $previous = null)
 {
     parent::__construct('Bad JSON syntax/unknown error in file ' . $fileName, $code, $previous);
 }
 public function __construct($code = 0, Exception $previous = null)
 {
     $message = 'Missing parameters for this page.';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($helper, $code = 0, Exception $previous = null)
 {
     $message = 'The helper ' . $helper . ' already exists !';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($type, $title, $code = 0, Exception $previous = null)
 {
     $message = 'The type ' . $type . ' for the popup ' . $title . ' is incorrect !';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($name, $code = 0, Exception $previous = null)
 {
     $message = 'There is no user called "' . $name . '".';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($input, $key, $code = 0, Exception $previous = null)
 {
     $message = 'Var ' . $input . '[' . $key . ']' . ' not set !';
     parent::__construct($message, $code, $previous);
 }
 public function __construct($name, $code = 0, Exception $previous = null)
 {
     $message = 'The attribute "' . $name . '" not exists.';
     parent::__construct($message, $code, $previous);
 }