diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-27 22:13:15 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-27 22:13:15 +0000 |
| commit | 23854471da707ba6541291587f05fb08d2ce5f3f (patch) | |
| tree | 2df8a73f4551a6391f8360b69d021f49953edd43 /qpid/java/common/generate | |
| parent | b446065f5ceac8c779d20fcbf129aacd00726ec6 (diff) | |
| download | qpid-python-23854471da707ba6541291587f05fb08d2ce5f3f.tar.gz | |
modified the generate script to add throws QpidException to the methods in Invoker
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/generate')
| -rwxr-xr-x | qpid/java/common/generate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/common/generate b/qpid/java/common/generate index 145e3b66ed..ac816d7b96 100755 --- a/qpid/java/common/generate +++ b/qpid/java/common/generate @@ -280,7 +280,7 @@ inv.line(" protected abstract StructFactory getFactory();") inv.line() for s in structs: dname = dromedary(s.name) - inv.line(" public void %s(%s) {" % (dname, s.parameters())) + inv.line(" public void %s(%s) throws QpidException {" % (dname, s.parameters())) inv.line(" invoke(getFactory().new%s(%s));" % (s.name, s.arguments())) inv.line(" }") inv.line("}") |
