function fault($faultcode,$faultstring,$faultactor='',$faultdetail=''){
		if ($faultdetail == '' && $this->debug_flag) {
			$faultdetail = $this->getDebug();
		}
		$this->fault = new nusoap_fault($faultcode,$faultactor,$faultstring,$faultdetail);
		$this->fault->soap_defencoding = $this->soap_defencoding;
	}
function fault($faultcode,$faultstring,$faultactor='',$faultdetail=''){
		if ($faultdetail == '' && $this->debug_flag) {
			$faultdetail = $this->getDebug();
		}
		$this->fault = new nusoap_fault($faultcode,$faultactor,$faultstring,$faultdetail);
		$this->fault->soap_defencoding = $this->soap_defencoding;
	}
function fault ( $ faultcode , $ faultstring , $ faultactor = '' , $ faultdetail = '' ) { if ( $ faultdetail == '' && $ this -> debug_flag ) { $ faultdetail = $ this -> getDebug ( ) ; } $ this -> fault = new nusoap_fault ( $ faultcode , $ faultactor , $ faultstring , $ faultdetail ) ; $ this -> fault -> soap_defencoding = $ this -> soap_defencoding ; }
Specify a fault to be returned to the client.
This also acts as a flag to the server that a fault has occured.

@param	string $faultcode
@param	string $faultstring
@param	string $faultactor
@param	string $faultdetail
@access   public
Specify a fault to be returned to the client . This also acts as a flag to the server that a fault has occured .