THRIFT-278. java: #validate exceptions should contain the offending value
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 18 Mar 2009 01:50:50 +0000 (01:50 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 18 Mar 2009 01:50:50 +0000 (01:50 +0000)
commit97592b40b1ae6d00911ab5e76dd951b011c63863
tree2daf48fb6b104f262879071f19177c7146fdb57d
parent65f7e60b7b259c5b8893a243679604d869cc97a2
THRIFT-278. java: #validate exceptions should contain the offending value

This patch causes validate to throw exceptions that contain the bad field value as well as the field name. I had to modify it slightly from the patch on the issue to conform with the new style isset checks.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@755454 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc