phpUserTrack
[ class tree: phpUserTrack ] [ index: phpUserTrack ] [ all elements ]

Source for file usertrackException.php

Documentation is available at usertrackException.php

  1. <?php
  2.  
  3. class usertrackException extends Exception
  4. {
  5.    // Redefine the exception so message isn't optional
  6.    public function __construct($message$code 0{
  7.        // some code
  8.   
  9.        // make sure everything is assigned properly
  10.        parent::__construct($message$code);
  11.    }
  12.  
  13.    // custom string representation of object
  14.    public function __toString({
  15.        return __CLASS__ . "[{$this->code}]: {$this->message}\n";
  16.    }
  17.  
  18. }
  19.    

Documentation generated on Tue, 06 Nov 2007 09:22:15 -0800 by phpDocumentor 1.4.0a2