26 lines
464 B
PHP
26 lines
464 B
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* Exception class which can be thrown by
|
||
|
|
* the WSDLStruct class.
|
||
|
|
*
|
||
|
|
*@author KnowledgeTree Team
|
||
|
|
*@package Webservice
|
||
|
|
*@version Version 0.9
|
||
|
|
*/
|
||
|
|
class WSDLException extends Exception {
|
||
|
|
/**
|
||
|
|
* @param string The error message
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
function __construct($msg) {
|
||
|
|
$this->msg = $msg;
|
||
|
|
}
|
||
|
|
/**
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
function Display() {
|
||
|
|
print "Error creating WSDL document:".$this->msg;
|
||
|
|
//var_dump(debug_backtrace());
|
||
|
|
}
|
||
|
|
}
|
||
|
|
?>
|