Add NOT_IMPLEMENTED exception code.
authorDavid Reiss <dreiss@apache.org>
Fri, 7 Mar 2008 20:12:13 +0000 (20:12 +0000)
committerDavid Reiss <dreiss@apache.org>
Fri, 7 Mar 2008 20:12:13 +0000 (20:12 +0000)
Preparation for Java JSON protocol implementation.

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

lib/java/src/protocol/TProtocolException.java

index 783b5be..9373de3 100644 (file)
@@ -20,6 +20,7 @@ public class TProtocolException extends TException {
   public static final int NEGATIVE_SIZE = 2;
   public static final int SIZE_LIMIT = 3;
   public static final int BAD_VERSION = 4;
+  public static final int NOT_IMPLEMENTED = 5;
 
   protected int type_ = UNKNOWN;