WSDLException.class.php 421 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Exception class which can be thrown by
  4. * the WSDLStruct class.
  5. */
  6. class WSDLException extends Exception {
  7. /**
  8. * @param string The error message
  9. * @return void
  10. */
  11. function __construct($msg) {
  12. $this->msg = $msg;
  13. }
  14. /**
  15. * @return void
  16. */
  17. function Display() {
  18. print "Error creating WSDL document:".$this->msg;
  19. //var_dump(debug_backtrace());
  20. }
  21. }
  22. ?>