You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by ju...@apache.org on 2017/01/30 23:05:47 UTC

reef git commit: [REEF-1730] Rethrow .NET exceptions while preserving stack trace

Repository: reef
Updated Branches:
  refs/heads/master 2fd16b5fc -> b0626ee47


[REEF-1730] Rethrow .NET exceptions while preserving stack trace

JIRA:
  [REEF-1730](https://issues.apache.org/jira/browse/REEF-1730)

Pull request:
  This closes #1247


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/b0626ee4
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/b0626ee4
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/b0626ee4

Branch: refs/heads/master
Commit: b0626ee471b5aa3851267ba41a814e18ce6ef7f2
Parents: 2fd16b5
Author: Mariia Mykhailova <ma...@apache.org>
Authored: Mon Jan 30 11:28:29 2017 -0800
Committer: Julia Wang <jw...@yahoo.com>
Committed: Mon Jan 30 14:28:37 2017 -0800

----------------------------------------------------------------------
 .../Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs | 4 ++--
 .../Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/b0626ee4/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs b/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs
index feea6fe..fa53009 100644
--- a/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs
+++ b/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportClient.cs
@@ -78,7 +78,7 @@ namespace Org.Apache.REEF.Wake.Remote.Impl
             catch (Exception e)
             {
                 Logger.Log(Level.Warning, "StreamingTransportClient get exception from ResponseLoop: {0}.", e.GetType());
-                throw e;
+                throw;
             }            
         }
 
@@ -139,7 +139,7 @@ namespace Org.Apache.REEF.Wake.Remote.Impl
             catch (Exception e)
             {
                 Logger.Log(Level.Warning, "StreamingTransportClient get exception in ResponseLoop: {0}.", e.GetType());
-                throw e;
+                throw;
             }
         }
     }

http://git-wip-us.apache.org/repos/asf/reef/blob/b0626ee4/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs b/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs
index bf5ca73..d6ad3d7 100644
--- a/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs
+++ b/lang/cs/Org.Apache.REEF.Wake/Remote/Impl/StreamingTransportServer.cs
@@ -177,7 +177,7 @@ namespace Org.Apache.REEF.Wake.Remote.Impl
             catch (Exception e)
             {
                 LOGGER.Log(Level.Warning, "StreamingTransportServer got exception: {0}.", e.GetType());
-                throw e;
+                throw;
             }
         }
 
@@ -212,7 +212,7 @@ namespace Org.Apache.REEF.Wake.Remote.Impl
             catch (Exception e)
             {
                 LOGGER.Log(Level.Warning, "StreamingTransportServer get exception in ProcessClient: {0}, IsCancellationRequested {1}.", e.GetType(), token.IsCancellationRequested);
-                throw e;
+                throw;
             }
         }
     }