class/Exception/SOAPException.php
<?php
namespace Homestead\Exception;
class SOAPException extends HMSException {
public function __construct($message, $code = 0, $functionName, $params){
parent::__construct($message, $code);
$errorMsg = $functionName . '(' . implode(',', $params) . '): ' . $code;
\PHPWS_Core::log($errorMsg, 'soapError.log', ('BannerError'));
}
}