You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Till Klampaeckel (JIRA)" <ji...@apache.org> on 2012/10/06 14:59:03 UTC

[jira] [Commented] (THRIFT-1711) \TException with blank code and message

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

Till Klampaeckel commented on THRIFT-1711:
------------------------------------------

Hey,

just checking in – you left a comment on the github issue, I replied.

Any feedback?

Thanks,
Till
                
> \TException with blank code and message
> ---------------------------------------
>
>                 Key: THRIFT-1711
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1711
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>            Reporter: Till Klampaeckel
>
> When a {{\TException}} is thrown, all kind of custom variables are assigned to the exception class in the {{__construct}}. However, the default {{code}} and {{message}} of the exception class are not populated.
> Is it possible to fix this? Currently this presents an edge-case in exception handling.
> Cross-referencing this issue on PHPUnit here:
> https://github.com/sebastianbergmann/phpunit/pull/679
> I could (maybe :-)) work on a patch – however I am not sure if a patch PHP userland (aka  {{Thrift.php}}) or if that code is generated and I would have to patch something else.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira