<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Base class for exceptions generated by CiviCRM.
$this->errorData = $errorData + array('error_code' => $error_code);
}
- // custom string representation of object
/**
+ * custom string representation of object.
* @return string
*/
public function __toString() {
public function getErrorData() {
return $this->errorData;
}
+
}