Source for file TMAPIException.exception.php

Documentation is available at TMAPIException.exception.php

  1. <?PHP
  2. /**
  3. * @package org.phptmapi.core
  4. */
  5. /**
  6. * public class TMAPIException: The base class for all standard (non run-time) exceptions thrown by a PHPTMAPI system.
  7. *
  8. * @author Johannes Schmidt - t8d <kontakt@t8d.de>
  9. */
  10. class TMAPIException extends Exception{
  11. /**
  12. * Constructor
  13. * @param string $msg
  14. * @access public
  15. */
  16. public function __construct($msg){
  17. parent::__construct($msg, $code=0);
  18. }
  19. /**
  20. * getCause: Returns the cause of this exception or null if the cause is nonexistent or unknown.
  21. * @access public
  22. * @return object Exception The Exception object or null.
  23. */
  24. public function getCause(){
  25. return $this;
  26. }
  27. }
  28. ?>

Documentation generated on Fri, 30 Jun 2006 13:07:00 +0200 by phpDocumentor 1.3.0RC4