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

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

Hello?
                
> \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

Reply via email to