Inheritance: extends Exception
 /**
  * @param string $error_msg
  * @param string $tpl_file
  * @param integer $tpl_line
  * @param string $file
  * @param integer $line
  */
 function __construct($error_msg, $tpl_file = null, $tpl_line = null, $file = null, $line = null)
 {
     if (isset($file) && isset($line)) {
         $info = ' (' . basename($file) . ", line {$line})";
     } else {
         $info = '';
     }
     if (isset($tpl_line) && isset($tpl_file)) {
         parent::__construct(self::EXCEPTION_TYPE . '[in ' . $tpl_file . ' line ' . $tpl_line . "]: {$error_msg}{$info}");
         return;
     }
     parent::__construct(self::EXCEPTION_TYPE . $error_msg . $info, $error_type);
 }
 function __construct()
 {
     parent::__construct("PHP session expired");
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct('No template widget');
 }
Exemplo n.º 4
0
	function __construct($bannerId) {
		parent::__construct("Banner (".$bannerId.") does not exist");
	}
Exemplo n.º 5
0
 public function __construct($message)
 {
     parent::__construct("Plugins engine exception: " . $message);
 }
Exemplo n.º 6
0
 function __construct($message)
 {
     parent::__construct($message);
 }
Exemplo n.º 7
0
 /**
  * Create Record header object
  *
  * @param array $headerArray
  */
 public function __construct($headerArray = null)
 {
     if ($headerArray === null) {
         return;
     }
     if (!$this->isIterable($headerArray)) {
         $e = new Gpf_Exception('');
         Gpf_Log::error('Not correct header for RecordHeader, trace: ' . $e->getTraceAsString());
         return;
     }
     foreach ($headerArray as $id) {
         $this->add($id);
     }
 }
 public function __construct($fieldCode, $class)
 {
     parent::__construct("Invalid field (column) " . $fieldCode . " in class " . $class);
 }
 public function __construct($parameterName)
 {
     parent::__construct('Query parameter ' . $parameterName . ' doesnt exist');
 }
 public function __construct($builder)
 {
     parent::__construct('To many rows for row object: ' . $builder->toString());
 }
 protected function logError($importObject, array $row, Gpf_Exception $e)
 {
     $this->logger->error($this->_sys('Could not import %s from %s on line %s. Throw exception: %s', $importObject, $this->file->getFileName(), implode($this->delimiter, $row), $e->getMessage()));
 }
 public function __construct($message)
 {
     parent::__construct('Incorrect import file: ' . $message);
 }
Exemplo n.º 13
0
 function __construct($message)
 {
     parent::__construct("Log exception: " . $message);
 }
Exemplo n.º 14
0
	function __construct($userId) {
		parent::__construct("User (".$userId.") does not exist");
	}
Exemplo n.º 15
0
	function __construct($campaignId) {
		parent::__construct("Campaign (".$campaignId.") does not exist");
	}
 function __construct($name)
 {
     parent::__construct("Setting with name '{$name}' is not defined or has no default value");
 }
 public function __construct(Gpf_Net_Server_Http_Response $response)
 {
     parent::__construct('');
     $this->response = $response;
 }
Exemplo n.º 18
0
 public function __construct($message, $errorCode = 0)
 {
     parent::__construct($message);
     $this->errorCode = $errorCode;
 }
Exemplo n.º 19
0
 public function __construct($resouceName, $panelName)
 {
     parent::__construct("Resource '{$resouceName}' not found in panel '{$panelName}'");
 }
 function __construct($className, $methodName)
 {
     parent::__construct('Permission denied: ' . $className . '->' . $methodName . '()');
 }
 public function __construct(Gpf_DbEngine_Row $dbRow)
 {
     parent::__construct("Row " . get_class($dbRow) . " can not be deleted because it is referenced by other rows");
 }
 public function __construct($templateName, $missingFields)
 {
     parent::__construct($this->buildMessage($templateName, $missingFields));
 }
Exemplo n.º 23
0
 public function __construct(array $constraintExceptions)
 {
     $this->constraintExceptions = $constraintExceptions;
     parent::__construct($this->buildMessage());
 }
 public function __construct($fieldCode, $message)
 {
     parent::__construct($message);
     $this->fieldCode = $fieldCode;
 }
 public function __construct($keyValue)
 {
     parent::__construct("'Row {$keyValue} does not exist");
 }
Exemplo n.º 26
0
 public function __construct($builder)
 {
     parent::__construct('Row does not exist: ' . $builder->toString());
 }
Exemplo n.º 27
0
 function __construct($message)
 {
     parent::__construct('RPC Execution exception: ' . $message);
 }
Exemplo n.º 28
0
 public function __construct($className, $trace)
 {
     parent::__construct('Class ' . $className . ' does not exist. Called in:' . $trace);
 }