[ 
https://issues.apache.org/jira/browse/THRIFT-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989143#comment-13989143
 ] 

Hudson commented on THRIFT-2506:
--------------------------------

FAILURE: Integrated in Thrift #1146 (See 
[https://builds.apache.org/job/Thrift/1146/])
THRIFT-2506 Update TProtocolException error codes to be used consistently 
throughout the library (jensg: rev 6d1a83aa485ed9c3644d3200555700070547bf90)
* lib/java/src/org/apache/thrift/protocol/TProtocolException.java
* lib/ocaml/src/Thrift.ml
* lib/hs/src/Thrift/Protocol.hs
* lib/delphi/src/Thrift.Protocol.pas
* lib/php/lib/Thrift/Exception/TProtocolException.php
* lib/as3/src/org/apache/thrift/protocol/TProtocolError.as
* lib/py/src/protocol/TProtocol.py
* lib/lua/TProtocol.lua
* lib/nodejs/lib/thrift/protocol.js
* lib/perl/lib/Thrift/Protocol.pm
* lib/csharp/src/Protocol/TProtocolException.cs
* lib/go/thrift/protocol_exception.go
* lib/d/src/thrift/protocol/base.d
* lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol.h
* lib/rb/lib/thrift/protocol/base_protocol.rb


> Update TProtocolException error codes to be used consistently throughout the 
> library
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2506
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2506
>             Project: Thrift
>          Issue Type: Bug
>          Components: AS3 - Library, C glib - Library, C# - Library, D - 
> Library, Delphi - Library, Go - Library, Haskell - Library, Java - Library, 
> JavaScript - Library, Lua - Library, OCaml - Library, Perl - Library, PHP - 
> Library, Python - Library, Ruby - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: thrift-2506-tprotocolexceptioncodes-v2.patch
>
>
> The error codes for TProtoException are not fully consistent.
> {code}
>   enum TProtocolExceptionType
>   { UNKNOWN = 0
>   , INVALID_DATA = 1
>   , NEGATIVE_SIZE = 2
>   , SIZE_LIMIT = 3
>   , BAD_VERSION = 4
>   , NOT_IMPLEMENTED = 5
>   , DEPTH_LIMIT = 6
>   };
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to