Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC8121084E for ; Fri, 14 Nov 2014 02:08:10 +0000 (UTC) Received: (qmail 98744 invoked by uid 500); 14 Nov 2014 02:08:10 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 98718 invoked by uid 500); 14 Nov 2014 02:08:10 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 98707 invoked by uid 99); 14 Nov 2014 02:08:10 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2014 02:08:10 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id DDD2C93A781; Fri, 14 Nov 2014 02:08:09 +0000 (UTC) From: zsxwing To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request: [SPARK-4379][Core] Change Exception to SparkEx... Content-Type: text/plain Message-Id: <20141114020809.DDD2C93A781@tyr.zones.apache.org> Date: Fri, 14 Nov 2014 02:08:09 +0000 (UTC) Github user zsxwing commented on the pull request: https://github.com/apache/spark/pull/3241#issuecomment-63000329 I'm sorry that I should have been clearer when I said the breaking change. I'm worried about the following case: ``` try { rdd.checkpoint() } catch { case e: SparkException => // do work A case e: Exception => do work B } ``` It breaks such case. However, I think few people will write such code. Therefore, does Spark view such change as a breaking change? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org