[
https://issues.apache.org/jira/browse/THRIFT-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865057#comment-13865057
]
Hudson commented on THRIFT-2211:
--------------------------------
SUCCESS: Integrated in Thrift #989 (See
[https://builds.apache.org/job/Thrift/989/])
THRIFT-2211:Exception constructor does not contain namespace prefix (jfarrell:
rev 06dbb8f011d2deccb66266ca45f8ea1a2f84ffb1)
* compiler/cpp/src/generate/t_cocoa_generator.cc
> Exception constructor does not contain namespace prefix.
> --------------------------------------------------------
>
> Key: THRIFT-2211
> URL: https://issues.apache.org/jira/browse/THRIFT-2211
> Project: Thrift
> Issue Type: Bug
> Components: Cocoa - Compiler
> Affects Versions: 0.9.1
> Reporter: Jan Brauer
> Assignee: Jan Brauer
> Priority: Minor
> Fix For: 0.9.2
>
> Attachments: THRIFT-2211.patch
>
>
> This is annoying because it makes exception handling even harder than it
> already is.
> {noformat}
> namespace cocoa Namespace
> /**
> * Structs can also be exceptions, if they are nasty.
> */
> exception InvalidOperation {
> 1: i32 what,
> 2: string why
> }
> {noformat}
> {noformat}
> @implementation NamespaceInvalidOperation
> - (id) init
> {
> return [super initWithName: @"InvalidOperation" reason: @"unknown"
> userInfo: nil];
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)