public function __construct(array $config){
$this->_expected = (string)$config['expected'];
$this->_written = (string)$config['written'];
$message = sprintf(
'%s %s %s %s',
'Length Mismatch Error: Expected',
$this->_expected,
'bytes, wrote',
$this->_written
);
parent::__construct($message);
}