added exception throw on parsing partial chunk