Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0AF45200B13 for ; Wed, 15 Jun 2016 17:59:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09CD7160A5D; Wed, 15 Jun 2016 15:59:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 526B5160A4D for ; Wed, 15 Jun 2016 17:59:03 +0200 (CEST) Received: (qmail 27825 invoked by uid 500); 15 Jun 2016 15:44:18 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 27578 invoked by uid 99); 15 Jun 2016 15:44:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 15:44:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DAD73C1313 for ; Wed, 15 Jun 2016 15:43:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=weimo-de.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qM4G-PimDcrB for ; Wed, 15 Jun 2016 15:43:57 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7C33D5F4E3 for ; Wed, 15 Jun 2016 15:43:56 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id t190so9975088pfb.3 for ; Wed, 15 Jun 2016 08:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weimo-de.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=qjBvbczTu4piWzn3cfwQkGdda4Ccc6uMG6FSP4L9s/A=; b=BiYMe9CupkMhMuUURCXsTShbr5y+tDSTMmUe4lXPiVdEbgS0GD3teXPmgTeIaH9Q2e ZfcRLJfYMiuTK7RVz8Sjxdxaqexpag2jva+UsrV6+Jb4S8Bxir8tLfPzWNh8DEyfu9ep nhAP6fodNMWFhW8AfIv+7WQwdUnoZEwsharDNG/fvB0HQYbgYbZyPDYA3+UV+rVh4btZ 2g7nssTLR4h8LbjZnWUMaFi2N3kdjslMkZT1faVVEEUwd3jyblHhPp4Kow1+mfNNQcr2 4dN8KVJJ2KpQbCrK9JlbO65I1HnqZg1iNysqxbjjpVYCwb7/utItl1vXvQYo4xiYshbA nLqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qjBvbczTu4piWzn3cfwQkGdda4Ccc6uMG6FSP4L9s/A=; b=ZC07JArxN2/6NSXZN+lREukv5JvuhkqhQ6848f1PvjvRTVQX1ICs8HufRlEMF2mxG3 aCCmi/3mMmBqRvc05CR6c62zYhL1qPkWGQzyGhZdPUg909j63xze1CMnUCeA10XgrHWi oW79LRBRvw6Ze3uB6iCgu7gck/6BzgtubHEwejtwpzpVL8fmtJt/MT+9djJIox8bTfEW qdKTos41nAZ+6bosvhuM6Bs55RK2orRyOOgwqu6IJ4WiedTaPr62arkrH22hEOSh7WKD CP8t9kWz7EnKMNQtz7DACcEVOVkmchnrgx4vpSNUKhSELL/qt0dby6xaLgCDVhqQcU7a gweg== X-Gm-Message-State: ALyK8tIAd2VF9kXSAdyMhwcdQUNuo2bonV96AnCFcxsSRHHHqn35GamQ9NtEigOVKUddLA== X-Received: by 10.98.90.67 with SMTP id o64mr4473691pfb.150.1466005434967; Wed, 15 Jun 2016 08:43:54 -0700 (PDT) Received: from [192.168.1.2] (50-46-112-150.evrt.wa.frontiernet.net. [50.46.112.150]) by smtp.gmail.com with ESMTPSA id ih15sm53957894pab.38.2016.06.15.08.43.54 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2016 08:43:54 -0700 (PDT) Subject: Re: [DISCUSS] Deprecate Exceptions.Throw? To: dev@reef.apache.org References: <34289ff3-ddf2-483a-19c9-e759b3eb4515@weimo.de> <30295cc1-3fcc-9b22-8c0f-a852f2b1336d@weimo.de> <10df2742-6522-9307-6897-4cc119fbe1dd@weimo.de> <575598BB.80101@weimo.de> <99964e0c-c525-95b4-56de-3a468cd48368@weimo.de> <41c174b4-0653-5a10-2917-0a97f4958e7f@weimo.de> From: Markus Weimer Message-ID: <0a017db2-69a9-78f4-0387-32aa190add1d@weimo.de> Date: Wed, 15 Jun 2016 08:43:55 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Wed, 15 Jun 2016 15:59:04 -0000 Hi, bumping this to everyone's attention again. I still maintain that we should not interfere with .NET's exception handling and use `throw` instead of the methods in the `Exception` class. At the same time, we should have good coding standards around the use of exceptions, for which REEF-864 can be the basis, unless where that contradicts best practices for .NET. We should also strive to enforce such good practices via tools. I am not sure whether the StyleCop and friends can do that. Does anyone know? Markus