THRIFT-690. php: Update TApplicationException codes
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 11 Apr 2011 17:59:27 +0000 (17:59 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 11 Apr 2011 17:59:27 +0000 (17:59 +0000)
Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091150 13f79535-47bb-0310-9956-ffa450edef68

lib/php/src/Thrift.php

index a14a3f3..d2a9441 100644 (file)
@@ -747,6 +747,8 @@ class TApplicationException extends TException {
   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);