[ 
https://issues.apache.org/jira/browse/THRIFT-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King III resolved THRIFT-4481.
---------------------------------------
       Resolution: Fixed
         Assignee: James E. King III
    Fix Version/s: 1.0

Thanks [~belugabehr] for the fix for this.

> 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
>            Assignee: James E. King III
>            Priority: Major
>             Fix For: 1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In base class TProtocol method writeMessageEnd can throw exception TException
> {code:java}
> public abstract void writeStructEnd() throws TException;{code}
> In this class this method is overridden by an empty implementation and 
> already can not throw exceptions
> {code:java}
> public void writeMessageEnd() {
>  }{code}
> 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)

Reply via email to