From: Mark Slee Date: Mon, 7 May 2007 22:54:18 +0000 (+0000) Subject: TEOFException must publicly inherit TTransportException X-Git-Tag: 0.2.0~1367 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=3690ee412a245f5287563fe57e5e5d2d66161a9e;p=common%2Fthrift.git TEOFException must publicly inherit TTransportException Reviewed By: boz Test Plan: Queuemap git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665105 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/transport/TFileTransport.h b/lib/cpp/src/transport/TFileTransport.h index 24c0c66d..03b0cf3e 100644 --- a/lib/cpp/src/transport/TFileTransport.h +++ b/lib/cpp/src/transport/TFileTransport.h @@ -362,7 +362,7 @@ class TFileTransport : public TFileReaderTransport, }; // Exception thrown when EOF is hit - class TEOFException : TTransportException { +class TEOFException : public TTransportException { public: TEOFException(): TTransportException(TTransportException::END_OF_FILE) {};