<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
| 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;
}
+
}