/**
  * @param string $fieldId Field ID
  * @param string $extraMessage [optional]
  * @param int $code [optional]
  * @param \Exception $previous [optional]
  */
 public function __construct($fieldId, $extraMessage = '', $code = 0, \Exception $previous = null)
 {
     $message = "Invalid field id: " . $fieldId;
     if ($extraMessage !== '') {
         $message .= " " . $extraMessage;
     }
     parent::__construct($message, $code, $previous);
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param string|array $expectedTypes [required] The expected data type or an array of expected types.
  * @param mixed &$data [required] The data that is of the wrong type.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($expectedTypes, &$data, $code = 0, \Exception $previous = null)
 {
     if (is_array($expectedTypes)) {
         $expectedTypes = "one of these: " . implode(", ", $expectedTypes);
     }
     $type = gettype($data);
     if ($type === 'object') {
         $type = get_class($data);
     }
     $message = "Data type mismatch (" . $type . "), expected " . $expectedTypes;
     parent::__construct($message, $code, $previous);
 }
 public function __construct()
 {
     parent::__construct("Access denied");
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param int $expectedColumnCount [required] Number of columns we expected to find.
  * @param int $actualColumnCount [required] Number of columns we actually found.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($expectedColumnCount, $actualColumnCount, $code = 0, \Exception $previous = null)
 {
     $message = "Unexpected column count, expected " . $expectedColumnCount . ", got " . $actualColumnCount;
     parent::__construct($message, $code, $previous);
 }
 public function __construct($code)
 {
     $message = "Invalid AggregationType code: " . $code;
     parent::__construct($message);
 }
 public function __construct($text)
 {
     $message = "Malformed quoted entity: " . $text;
     parent::__construct($message);
 }
 /**
  * @param string $reasonType A string that does not describe a valid ReasonType code
  */
 public function __construct($reasonType)
 {
     $message = "Invalid Reason Type: " . $reasonType;
     parent::__construct($message);
 }
 public function __construct($code)
 {
     parent::__construct("Invalid Output Type: " . $code);
 }
 /**
  * @param string $fieldName Name of the invalid field id
  * @param int $fieldType Type of field you thought it was
  * @param int $code [optional]
  * @param \Exception $previous [optional]
  */
 public function __construct($fieldName, $fieldType, $code = 0, \Exception $previous = null)
 {
     $message = "Invalid field name '{$fieldName}' specified in {$fieldType} config";
     parent::__construct($message, $code, $previous);
 }
 public function __construct(\Exception $previous)
 {
     $message = "Failed to render output: " . $previous->getMessage();
     parent::__construct($message, 0, $previous);
 }
 public function __construct()
 {
     parent::__construct("Not implemented");
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param int $type [required] ValueType code that is invalid.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($type, $code = 0, \Exception $previous = null)
 {
     parent::__construct("No such value type: " . $type, $code, $previous);
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param int $index [required] The index that is out of bounds.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($index, $code = 0, \Exception $previous = null)
 {
     parent::__construct("Index out of bounds: {$index}", $code, $previous);
 }
 /**
  * @param string $type1
  * @param string $type2
  * @param array $duplicates
  */
 public function __construct($type1, $type2, $duplicates)
 {
     $message = "Duplicate fields specified as both {$type1} and {$type2}: " . implode(", ", $duplicates);
     parent::__construct($message);
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param string $parameter [required] The name of the unknown parameter.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($parameter, $code = 0, \Exception $previous = null)
 {
     parent::__construct("No such parameter: {$parameter}", $code, $previous);
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param string $message [optional] A custom error message
  * @param int $code [optional] The Exception code.
  * @param Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($message = "Not Implemented", $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct()
 {
     parent::__construct("No data fields found, a pivot is meaningless");
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param ValueType $expectedType [required] The expected data type or an array of expected types.
  * @param int $columnIndex [optional] Index of the column with the wrong data type.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct(ValueType $expectedType, $columnIndex = 0, \Exception $previous = null)
 {
     $message = "Value type mismatch, expected " . $expectedType->getTypeName();
     parent::__construct($message, $columnIndex, $previous);
 }
 /**
  * Construct the exception. Note: The message is NOT binary safe.
  * @link http://php.net/manual/en/exception.construct.php
  * @param string $id [required] The id of the unknown column.
  * @param int $code [optional] The Exception code.
  * @param \Exception $previous [optional] The previous exception used for the exception chaining.
  */
 public function __construct($id, $code = 0, \Exception $previous = null)
 {
     parent::__construct("No such column id: {$id}", $code, $previous);
 }
 public function __construct()
 {
     parent::__construct("You provided an empty DataTable");
 }