commit | c0092f973d79f309c1b89ae5e55ad8094b87763a | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:46 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:46 2008 +0000 |
tree | 3e9d66208cb0969f0d0b8e65c566f5f592adc092 | |
parent | b04df765b5c9fe1b8fb6ded0ed2750188278fe50 [diff] |
PHP Generator: Throw an exception on bad types. Summary: Previously, if you set a structure field to, say, an int when it was supposed to be a container (array) or struct (object), the serialization code would either produce corrupt output (container) or cause a fatal error (struct). Now they both throw exceptions. Reviewed By: mcslee Test Plan: Looked at generated code. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666365 13f79535-47bb-0310-9956-ffa450edef68