Lines Matching refs:Exception

196 …if(!isset($responseString->params->param->value->boolean)) throw new Exception('Invalid response i…
232 …ail === null && $authorOpenId === null && $authorId === null) throw new Exception('Specify at leas…
260 …if(!isset($responseString->params->param->value->struct->member)) throw new Exception('Invalid res…
321 …if($server === null && $countServerList == 0) throw new Exception('No servers found, populate the …
331 …if(!in_array($method, $aPossibleMethods)) throw new Exception('Invalid method. Only '. implode(', …
334 if(self::$publicKey === null) throw new Exception('Public key wasn\'t set.');
337 if(self::$privateKey === null) throw new Exception('Private key wasn\'t set.');
413 …!isset(self::$serverList[$counter]) && $countServerList != 0) throw new Exception('No more servers…
419 …else throw new Exception('Something went wrong. Maybe the following message can be handy.<br />'. …
426 if(!isset($parts[0]) || !isset($parts[1])) throw new Exception('Invalid response in doCall.');
437 if(!in_array(substr($headers, 0, 12), $aValidHeaders)) throw new Exception('Invalid headers.');
441 if($responseXML === false) throw new Exception('Invalid body.');
453 throw new Exception('[error '.$code .'] '. $message, $code);
457 throw new Exception('[error '.$code .'] '. $message, $code);
468 throw new Exception('[error '.$code .'] '. $message, $code);
510 …if(!isset($responseString->params->param->value->struct->member)) throw new Exception('Invalid res…
559 …if(!isset($responseString->params->param->value->struct->member)) throw new Exception('Invalid res…
616 …if(!isset($responseString->params->param->value->array->data->value)) throw new Exception('Invalid…
652 …if(!in_array($type, $aPossibleTypes)) throw new Exception('Invalid type. Only '. implode(', ', $aP…
658 …if(!isset($responseString->params->param->value->int)) throw new Exception('Invalid response in ge…
691 …if(!in_array($feedback, $aPossibleFeedback)) throw new Exception('Invalid feedback. Only '. implod…
701 …if(!isset($responseString->params->param->value->boolean)) throw new Exception('Invalid response i…
779 if($timeout == 0) throw new Exception('Invalid timeout. Timeout shouldn\'t be 0.');
812 …if(!isset($responseString->params->param->value->boolean)) throw new Exception('Invalid response i…