From f966c066fc10c1510c244c41958e343c682dd1a1 Mon Sep 17 00:00:00 2001 From: Robert Greig Date: Mon, 9 Apr 2007 15:26:04 +0000 Subject: Stopped throwing away exception causes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@526776 13f79535-47bb-0310-9956-ffa450edef68 --- gentools/templ.java/MethodRegistryClass.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gentools/templ.java/MethodRegistryClass.tmpl') 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); -- cgit v1.2.1