thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-4609) keep InnerException wherever appropriate
Date Thu, 27 Dec 2018 15:25:06 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James E. King III closed THRIFT-4609.
-------------------------------------

> keep InnerException wherever appropriate 
> -----------------------------------------
>
>                 Key: THRIFT-4609
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4609
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C# - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.12.0
>
>
> The C# {{Exception}} type offers the ability to store an {{InnerException}} which is
sometimes quite helpful for debugging. Hence, wherever appropriate, any exceptions caught
and rethrown should be stored into the {{InnerException}} field to provide the original error
information to the caller.
> The only exception (pun intended) to this is {{TApplicationException}} - this type is
intended to be serialized and sent back to the client. Not only that there is no way to preserve
that information, it also [could compromise possibly sensitive information to clients, which
is a bad thing to happen w/regard to security|https://cwe.mitre.org/data/definitions/209.html].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message