X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2FException.php;h=bba5e6e4f71937006b192ae4beab032c7e1326dd;hb=926fc8be309aa0131138cdbfa8f1fe0e17968678;hp=7f0186b88f10be4119bef6ec1a9e2c34c58dc468;hpb=7d86179d7d8e91160bbb5e6643fa265198a99a2d;p=civicrm-core.git diff --git a/api/Exception.php b/api/Exception.php index 7f0186b88f..bba5e6e4f7 100644 --- a/api/Exception.php +++ b/api/Exception.php @@ -1,11 +1,11 @@ 'Entity or method is not implemented', ); } + } /** @@ -84,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 @@ -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() { @@ -110,6 +121,8 @@ class CiviCRM_API3_Exception extends Exception { } /** + * Get error code. + * * @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; } + }