/** * Initialize a new exception */ public function __construct($key, $state, $driver, $msg, $sql) { $this->key = $key; $this->state = $state; $this->driver = $driver; $this->msg = $msg; $this->sql = $sql; parent::__construct($this->msg); }
public function __construct($file, $errors = null) { $details = null; if (is_array($errors)) { foreach ($errors as $err) { $details .= $this->getError($err); } libxml_clear_errors(); } parent::__construct('Unable to validate xml file : ' . $file . $details); }
public function __construct(pdoMap_Mapping_Entity $entity, pdoMap_Mapping_Metadata_Field $meta) { parent::__construct('Could not validate entity ' . $entity->getType() . ' because field ' . $meta->bind . ' cant be null !'); }
public function __construct() { parent::__construct('Unable to read configuration / you should initialize first.'); }
public function __construct($name, pdoMap_Mapping_Metadata_Table $table) { parent::__construct('Could not find ' . $name . ' on adapter ' . $table->getType()); }
public function __construct(pdoMap_Mapping_Metadata_Field $field, $file, $message) { parent::__construct('The file ' . $file . ' was not parsed. ' . 'Unable to read field \'' . $field->bind . '\' definition : ' . $message); }
/** * Raise an error */ public function __construct(pdoMap_Mapping_Metadata_Field &$field, $type) { parent::__construct('Could not convert ' . $field->bind . '(' . $field->type . ') to ' . $type . ' !'); }
public function __construct($key) { parent::__construct('Unable to find connection key \'' . $key . '\' !'); }
public function __construct($structure) { parent::__construct('Unable to find primary key on ' . $structure->bind . ' mapping !'); }
public function __construct($file) { parent::__construct('Unable to load xml file : ' . $file); }
public function __construct($key) { parent::__construct('Could not load or read the requested key : ' . $key); }
public function __construct($bind, $file) { parent::__construct('Unable to find mapping file for type ' . $bind . ' - look at ' . $file); }
public function __construct($transaction, pdoMap_Mapping_Entity $entity) { parent::__construct('Unable to execute ' . $transaction . ' transaction on entity ' . $entity->getType() . ' with id ' . $entity->getPk()); }
public function __construct(pdoMap_Mapping_Entity $entity, pdoMap_Mapping_Metadata_Field $meta) { parent::__construct('Could not validate entity ' . $entity->getType() . ' because value of field ' . $meta->bind . ' is not correctly typed (expecting ' . $meta->type . ') ! Field value : ' . $entity->getValue($meta->bind)); }
/** * Raise an error */ public function __construct(pdoMap_Mapping_Metadata_Field &$field, $key) { parent::__construct('Field ' . $field->bind . '(' . $field->type . ') expects undefined ' . $key . ' option !'); }
/** * Raise an error */ public function __construct(pdoMap_Mapping_Metadata_Field &$field) { parent::__construct('You are not allowed to set ' . $field->bind . '(' . $field->type . ') value !'); }
/** * Raise an error */ public function __construct(pdoMap_Mapping_Metadata_Field &$field, $value) { parent::__construct('Field ' . $field->bind . '(' . $field->type . ') does not expects value ' . $value . ' !'); }
public function __construct($type) { parent::__construct('Unable to find entity mapping for ' . $type . ' structure. You should verify syntax and mapping configuration file.'); }
public function __construct($key) { parent::__construct('Unable to find cache key ' . $key); }
/** * Raise an error */ public function __construct(pdoMap_Mapping_Metadata_Field &$field, $key) { parent::__construct('Field ' . $field->bind . '(' . $field->type . ') contains a wrong ' . $key . ' definition !'); }
public function __construct($service) { parent::__construct('Could not find service ' . $service . ' implementation, maybe you forget an include.'); }
public function __construct(pdoMap_Mapping_Entity $entity) { parent::__construct('Unable to validate entity ' . $entity->getType() . ' with id ' . $entity->getPk()); }
public function __construct($service, $interface, $initial, $duplicate) { parent::__construct('Duplicate implementation for ' . $service . ' adapter : ' . get_class($initial) . ' and ' . $duplicate . ' both implements ' . $interface); }
public function __construct($class) { parent::__construct('Unable to find class \'' . $class . '\' definition !'); }
public function __construct($key) { parent::__construct('Could not save or write the requested key : ' . $key); }