X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fclient%2Fhttp%2Fclass_HttpClient.php;fp=framework%2Fmain%2Fclasses%2Fclient%2Fhttp%2Fclass_HttpClient.php;h=fc955edab11c7442ec9c251b3c689288d78b8267;hb=c21969ecc9ea3689d37dac8dd39ea202b2726e99;hp=aa0c6d7b8742025913bc13e25fe8c6b301d60590;hpb=3e2e1b83366a480ce4e7bbf1af6e0ee14efefb95;p=core.git diff --git a/framework/main/classes/client/http/class_HttpClient.php b/framework/main/classes/client/http/class_HttpClient.php index aa0c6d7b..fc955eda 100644 --- a/framework/main/classes/client/http/class_HttpClient.php +++ b/framework/main/classes/client/http/class_HttpClient.php @@ -119,7 +119,7 @@ class HttpClient extends BaseClient implements Client { /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('HTTP-CLIENT: responseArray()=%d', count($responseArray))); if (count($responseArray) < 2) { // Not expected count - throw new UnexpectedValueException(sprintf('responseArray()=%d must have at least two elements', count($responseArray))); + throw new UnexpectedValueException(sprintf('responseArray()=%d must have at least two elements', count($responseArray)), FrameworkInterface::EXCEPTION_UNEXPECTED_VALUE); } // Analyze first header line