From: David Reiss Date: Fri, 7 Mar 2008 20:12:13 +0000 (+0000) Subject: Add NOT_IMPLEMENTED exception code. X-Git-Tag: 0.2.0~912 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=80f6398b63cfd3679fa9957f9563dc182213968d;p=common%2Fthrift.git Add NOT_IMPLEMENTED exception code. Preparation for Java JSON protocol implementation. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665560 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/java/src/protocol/TProtocolException.java b/lib/java/src/protocol/TProtocolException.java index 783b5be5..9373de3c 100644 --- a/lib/java/src/protocol/TProtocolException.java +++ b/lib/java/src/protocol/TProtocolException.java @@ -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;