summaryrefslogtreecommitdiff
path: root/java/common/Composite.tpl
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-23 19:16:04 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-23 19:16:04 +0000
commit51db72d6d1fdbaebfc2f91fec611cf26d35ea8f5 (patch)
tree31e58d40ccc2d898b840c21b5a32030a671091d2 /java/common/Composite.tpl
parent896d94f7c27e958806b96b537a7a96208ede145a (diff)
downloadqpid-python-51db72d6d1fdbaebfc2f91fec611cf26d35ea8f5.tar.gz
QPID-901: Track and report session exceptions, modified generator validate values before trying to encode them. Also, moved createDurableSubscriber from AMQSession_0_10 -> AMQSession.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659631 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/Composite.tpl')
-rw-r--r--java/common/Composite.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/common/Composite.tpl b/java/common/Composite.tpl
index 4e1a54de81..4f72279bcc 100644
--- a/java/common/Composite.tpl
+++ b/java/common/Composite.tpl
@@ -8,6 +8,7 @@ import java.util.UUID;
import org.apache.qpidity.transport.codec.Decoder;
import org.apache.qpidity.transport.codec.Encodable;
import org.apache.qpidity.transport.codec.Encoder;
+import org.apache.qpidity.transport.codec.Validator;
import org.apache.qpidity.transport.network.Frame;
@@ -136,6 +137,7 @@ for f in fields:
}
public final $name $(f.set)($(f.type) value) {
+ $(f.check)
this.$(f.name) = value;
this.has_$(f.name) = true;
this.dirty = true;
@@ -143,6 +145,7 @@ for f in fields:
}
public final $name $(f.name)($(f.type) value) {
+ $(f.check)
this.$(f.name) = value;
this.has_$(f.name) = true;
this.dirty = true;