Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4481

TBinaryProtocol.writeMessageEnd isn't throwable exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 0.13.0
    • Java - Library
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              AntonTramp Anton Shchyrov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m