Author: bryanduxbury
Date: Mon Apr 11 17:59:27 2011
New Revision: 1091150
URL: http://svn.apache.org/viewvc?rev=1091150&view=rev
Log:
THRIFT-690. php: Update TApplicationException codes
Patch: Nicholas Telford
Modified:
thrift/trunk/lib/php/src/Thrift.php
Modified: thrift/trunk/lib/php/src/Thrift.php
URL:
http://svn.apache.org/viewvc/thrift/trunk/lib/php/src/Thrift.php?rev=1091150&r1=1091149&r2=1091150&view=diff
==============================================================================
--- thrift/trunk/lib/php/src/Thrift.php (original)
+++ thrift/trunk/lib/php/src/Thrift.php Mon Apr 11 17:59:27 2011
@@ -747,6 +747,8 @@ class TApplicationException extends TExc
const WRONG_METHOD_NAME = 3;
const BAD_SEQUENCE_ID = 4;
const MISSING_RESULT = 5;
+ const INTERNAL_ERROR = 6;
+ const PROTOCOL_ERROR = 7;
function __construct($message=null, $code=0) {
parent::__construct($message, $code);