/* 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