THRIFT-738. java: TCompactProtocol throws RuntimeException when it can't identify a type identifier This patch causes it to throw TProtocolException instead.