Merge pull request #5386 from colemanw/CRM-15706
[civicrm-core.git] / CRM / Core / Exception.php
index 7be50c964af52a0681706f6cbe93675c8f882b53..2722c6b73bb5cd5cafa20ca3ba591d63fe323333 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -24,7 +23,7 @@
  | 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.
@@ -52,8 +51,8 @@ class CRM_Core_Exception extends PEAR_Exception {
     $this->errorData = $errorData + array('error_code' => $error_code);
   }
 
-  // custom string representation of object
   /**
+   * custom string representation of object.
    * @return string
    */
   public function __toString() {
@@ -81,4 +80,5 @@ class CRM_Core_Exception extends PEAR_Exception {
   public function getErrorData() {
     return $this->errorData;
   }
+
 }