procedure Write( oprot: IProtocol );\r
end;\r
\r
+ // base class for IDL-generated exceptions\r
+ TException = class( SysUtils.Exception)\r
+ public\r
+ procedure Message; // hide inherited property to prevent accidental read/write\r
+ end;\r
+\r
implementation\r
\r
+{ TException }\r
+\r
+procedure TException.Message;\r
+// hide inherited property to prevent accidental read/write\r
+begin\r
+ ASSERT( FALSE, 'Unexpected call to '+ClassName+'.message. Forgot the underscore?');\r
+end;\r
+\r
{ TApplicationException }\r
\r
constructor TApplicationException.Create;\r