projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5119 from colemanw/CRM-15789
[civicrm-core.git]
/
api
/
Exception.php
diff --git
a/api/Exception.php
b/api/Exception.php
index 7f0186b88f10be4119bef6ec1a9e2c34c58dc468..812bb603c068f446de9e14ab707e516d1e5252a9 100644
(file)
--- a/
api/Exception.php
+++ b/
api/Exception.php
@@
-1,9
+1,9
@@
<?php
/**
<?php
/**
+ * @file
* File for the CiviCRM APIv3 API wrapper
*
* @package CiviCRM_APIv3
* File for the CiviCRM APIv3 API wrapper
*
* @package CiviCRM_APIv3
- * @subpackage API
*
* @copyright CiviCRM LLC (c) 2004-2014
*/
*
* @copyright CiviCRM LLC (c) 2004-2014
*/
@@
-23,6
+23,8
@@
class API_Exception extends Exception {
private $extraParams = array();
/**
private $extraParams = array();
/**
+ * Class constructor.
+ *
* @param string $message
* The human friendly error message.
* @param mixed $error_code
* @param string $message
* The human friendly error message.
* @param mixed $error_code
@@
-48,7
+50,8
@@
class API_Exception extends Exception {
}
/**
}
/**
- * custom string representation of object
+ * Custom string representation of object.
+ *
* @return string
*/
public function __toString() {
* @return string
*/
public function __toString() {
@@
-56,6
+59,8
@@
class API_Exception extends Exception {
}
/**
}
/**
+ * Get extra parameters.
+ *
* @return array
*/
public function getExtraParams() {
* @return array
*/
public function getExtraParams() {
@@
-63,6
+68,8
@@
class API_Exception extends Exception {
}
/**
}
/**
+ * Get error codes.
+ *
* @return array
*/
public function getErrorCodes() {
* @return array
*/
public function getErrorCodes() {
@@
-74,6
+81,7
@@
class API_Exception extends Exception {
self::NOT_IMPLEMENTED => 'Entity or method is not implemented',
);
}
self::NOT_IMPLEMENTED => 'Entity or method is not implemented',
);
}
+
}
/**
}
/**
@@
-84,6
+92,8
@@
class CiviCRM_API3_Exception extends Exception {
private $extraParams = array();
/**
private $extraParams = array();
/**
+ * Class constructor.
+ *
* @param string $message
* The human friendly error message.
* @param mixed $error_code
* @param string $message
* The human friendly error message.
* @param mixed $error_code
@@
-102,7
+112,8
@@
class CiviCRM_API3_Exception extends Exception {
}
/**
}
/**
- * custom string representation of object
+ * Custom string representation of object.
+ *
* @return string
*/
public function __toString() {
* @return string
*/
public function __toString() {
@@
-110,6
+121,8
@@
class CiviCRM_API3_Exception extends Exception {
}
/**
}
/**
+ * Get error code.
+ *
* @return mixed
*/
public function getErrorCode() {
* @return mixed
*/
public function getErrorCode() {
@@
-117,9
+130,12
@@
class CiviCRM_API3_Exception extends Exception {
}
/**
}
/**
+ * Get extra parameters.
+ *
* @return array
*/
public function getExtraParams() {
return $this->extraParams;
}
* @return array
*/
public function getExtraParams() {
return $this->extraParams;
}
+
}
}