You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2012/10/16 21:59:09 UTC
svn commit: r1398960 - /qpid/proton/trunk/proton-c/bindings/php/proton.php
Author: rhs
Date: Tue Oct 16 19:59:09 2012
New Revision: 1398960
URL: http://svn.apache.org/viewvc?rev=1398960&view=rev
Log:
soft error on unknown mapping for php
Modified:
qpid/proton/trunk/proton-c/bindings/php/proton.php
Modified: qpid/proton/trunk/proton-c/bindings/php/proton.php
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/php/proton.php?rev=1398960&r1=1398959&r2=1398960&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/php/proton.php (original)
+++ qpid/proton/trunk/proton-c/bindings/php/proton.php Tue Oct 16 19:59:09 2012
@@ -838,7 +838,7 @@ class Data {
if ($type == null) return null;
$getter = $this->get_mappings[$type];
if ($getter == null)
- throw new DataException("unknown type: $type");
+ return new DataException("unknown type: $type");
return $this->$getter();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org