X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2FException.php;h=267c87fcdc0f4fc6fcac1c4e4d9fda6a274d9de6;hb=63f63f5a548ec1293e4daf26fd84349f72e2e6c4;hp=8ec7eb3ae6a8212a13e790b1b6fa02d247dae97f;hpb=2e66abf8190dde0439f825a12234323404ea49ef;p=civicrm-core.git diff --git a/api/Exception.php b/api/Exception.php index 8ec7eb3ae6..267c87fcdc 100644 --- a/api/Exception.php +++ b/api/Exception.php @@ -4,9 +4,8 @@ * File for the CiviCRM APIv3 API wrapper * * @package CiviCRM_APIv3 - * @subpackage API * - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 */ /** @@ -51,7 +50,8 @@ class API_Exception extends Exception { } /** - * custom string representation of object + * Custom string representation of object. + * * @return string */ public function __toString() { @@ -59,6 +59,8 @@ class API_Exception extends Exception { } /** + * Get extra parameters. + * * @return array */ public function getExtraParams() { @@ -66,6 +68,8 @@ class API_Exception extends Exception { } /** + * Get error codes. + * * @return array */ public function getErrorCodes() { @@ -88,6 +92,8 @@ class CiviCRM_API3_Exception extends Exception { private $extraParams = array(); /** + * Class constructor. + * * @param string $message * The human friendly error message. * @param mixed $error_code @@ -106,7 +112,8 @@ class CiviCRM_API3_Exception extends Exception { } /** - * custom string representation of object + * Custom string representation of object. + * * @return string */ public function __toString() { @@ -114,6 +121,8 @@ class CiviCRM_API3_Exception extends Exception { } /** + * Get error code. + * * @return mixed */ public function getErrorCode() { @@ -121,6 +130,8 @@ class CiviCRM_API3_Exception extends Exception { } /** + * Get extra parameters. + * * @return array */ public function getExtraParams() {