diff options
| author | Robert Greig <rgreig@apache.org> | 2007-04-09 15:26:04 +0000 |
|---|---|---|
| committer | Robert Greig <rgreig@apache.org> | 2007-04-09 15:26:04 +0000 |
| commit | f966c066fc10c1510c244c41958e343c682dd1a1 (patch) | |
| tree | ff0d2818fe3729bb6ebdfcb8d654d17b8599538f /gentools/templ.java/MethodRegistryClass.tmpl | |
| parent | b8b2e032a4a6a6ad796ce6247c581a0498b5c264 (diff) | |
| download | qpid-python-f966c066fc10c1510c244c41958e343c682dd1a1.tar.gz | |
Stopped throwing away exception causes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526776 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/templ.java/MethodRegistryClass.tmpl')
| -rw-r--r-- | gentools/templ.java/MethodRegistryClass.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gentools/templ.java/MethodRegistryClass.tmpl b/gentools/templ.java/MethodRegistryClass.tmpl index 80bc61d4ce..388a1a936f 100644 --- a/gentools/templ.java/MethodRegistryClass.tmpl +++ b/gentools/templ.java/MethodRegistryClass.tmpl @@ -60,9 +60,9 @@ public class MainRegistry if (bodyFactory == null) { - throw new AMQFrameDecodingException( + throw new AMQFrameDecodingException(null, "Unable to find a suitable decoder for class " + classID + " and method " + - methodID + " in AMQP version " + major + "-" + minor + "."); + methodID + " in AMQP version " + major + "-" + minor + ".", null); } return bodyFactory.newInstance(major, minor, in, size); |
