Source for file TMAPIRuntimeException.exception.php

Documentation is available at TMAPIRuntimeException.exception.php

  1. <?PHP
  2. /**
  3. * @package org.phptmapi.core
  4. */
  5. /**
  6. * public class TMAPIRuntimeException: Instances of this exception class should be thrown in cases where there is an error in the underlying topic map processing system or when integrity constraints are violated by a TopicMapObjectInterface.remove() operation.
  7. *
  8. * @author Johannes Schmidt - t8d <kontakt@t8d.de>
  9. */
  10. class TMAPIRuntimeException 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:02 +0200 by phpDocumentor 1.3.0RC4