THRIFT-5005 Refactoring of the Delphi libs [ci skip]
Client: Delphi
Patch: Jens Geyer
diff --git a/lib/delphi/src/Thrift.pas b/lib/delphi/src/Thrift.pas
index abc0c1e..716e4d2 100644
--- a/lib/delphi/src/Thrift.pas
+++ b/lib/delphi/src/Thrift.pas
@@ -52,7 +52,7 @@
UnsupportedClientType
);
{$SCOPEDENUMS OFF}
- protected
+ strict protected
constructor HiddenCreate(const Msg: string);
class function GetType: TExceptionType; virtual; abstract;
class function GetSpecializedExceptionType(AType: TExceptionType): TApplicationExceptionSpecializedClass;
@@ -76,57 +76,57 @@
end;
TApplicationExceptionUnknown = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionUnknownMethod = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionInvalidMessageType = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionWrongMethodName = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionBadSequenceID = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionMissingResult = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionInternalError = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionProtocolError = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionInvalidTransform = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionInvalidProtocol = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;
TApplicationExceptionUnsupportedClientType = class (TApplicationExceptionSpecialized)
- protected
+ strict protected
class function GetType: TApplicationException.TExceptionType; override;
end;