THRIFT-3794 Fixing exception types in library now that they have been split up
Client: Delphi
Patch: Kyle Johnson <kyle@powerworld.com>
This closes #993
diff --git a/lib/delphi/src/Thrift.Transport.pas b/lib/delphi/src/Thrift.Transport.pas
index 080cb8c..5dfb14e 100644
--- a/lib/delphi/src/Thrift.Transport.pas
+++ b/lib/delphi/src/Thrift.Transport.pas
@@ -1585,7 +1585,7 @@
inherited;
if not FTcpClient.IsOpen
- then raise TTransportException.Create( TTransportException.TExceptionType.NotOpen);
+ then raise TTransportExceptionNotOpen.Create('not open');
FTcpClient.Write(buffer[offset], count);
end;