public function __construct($message)
 {
     parent::__construct($message);
 }
示例#2
0
 function __construct($first, $second)
 {
     parent::__construct(sprintf("Detected configuration files provide conflicting cache paths: %s and %s", $first, $second));
 }
示例#3
0
 /**
  * File is not readable
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('File is not readable: "' . $name . '"');
 }
示例#4
0
 /**
  * File is not returning an array
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Config files must return an array: "' . $name . '"');
 }
示例#5
0
 /**
  * Extension is not php
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Extension is not php: "' . $name . '"');
 }
示例#6
0
 /**
  * Variable is not defined
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Config variable is not defined: "' . $name . '"');
 }
示例#7
0
 /**
  * File or directory not found
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('File or directory not found: "' . $name . '"');
 }