Anton Shchyrov created THRIFT-4481:
--------------------------------------
Summary: TBinaryProtocol.writeMessageEnd isn't trowable exception
Key: THRIFT-4481
URL: https://issues.apache.org/jira/browse/THRIFT-4481
Project: Thrift
Issue Type: Bug
Components: Java - Library
Affects Versions: 0.11.0
Reporter: Anton Shchyrov
In base class TProtocol method writeMessageEnd can throw exception TException
{{public abstract void writeStructEnd() throws TException;}}
In this class this method is overridden by an empty implementation and already
can not throw exceptions
{{public void writeMessageEnd() {}}
{{}}}
I want to extend the capabilities of the class TBinaryProtocol and override
this method. But I can not throw an exception from it or call a method that can
throw an exception
A similar remark on all methods of a class TBinaryProtocol with an empty body
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)