public function handleError($event)
    {
        $event->handled = true;
        $message = $event->message;
        if (YII_DEBUG) {
            $trace = debug_backtrace();
            if (isset($trace[2]) && isset($trace[2]['file']) && isset($trace[2]['line'])) {
                $message .= ' (' . $trace[2]['file'] . ':' . $trace[2]['line'] . ')';
            }
        }
        throw new \Exception($message, self::SOAP_ERROR);
    }