Thrift-1441: Generate constructor with parameters for exception class to let it updat...
authorJake Farrell <jfarrell@apache.org>
Fri, 9 Dec 2011 02:29:56 +0000 (02:29 +0000)
committerJake Farrell <jfarrell@apache.org>
Fri, 9 Dec 2011 02:29:56 +0000 (02:29 +0000)
commit343c61d6a7f06e65de8087499675d7b8295e41b2
treec1e269cbff9df2c49ab5c2432053f30d7ef6008f
parent12ac2acfaf3532eb200f499e528dec04931f67ed
Thrift-1441: Generate constructor with parameters for exception class to let it update message property automatically.
Client:delphi
Patch: Kenjiro Fukumitsu

Add the function to delphi generator that generates constructor with parameters to initialize members,if the class is exception and have more than zero parameters.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212226 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_delphi_generator.cc
lib/delphi/test/TestServer.pas