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 94C9C200C8A for ; Sun, 4 Jun 2017 14:34:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 935E2160BE0; Sun, 4 Jun 2017 12:34:29 +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 DCA78160BB7 for ; Sun, 4 Jun 2017 14:34:28 +0200 (CEST) Received: (qmail 99465 invoked by uid 500); 4 Jun 2017 12:34:28 -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 99452 invoked by uid 99); 4 Jun 2017 12:34:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2017 12:34:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AD76EC17BB for ; Sun, 4 Jun 2017 12:34:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id MlSFJBQ05gbw for ; Sun, 4 Jun 2017 12:34:20 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 527D95F4A7 for ; Sun, 4 Jun 2017 12:34:20 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id 123so18481571wmg.1 for ; Sun, 04 Jun 2017 05:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=yBWxKb5S4j9otR2hWrcjtYdeQsZguFFbik2UiXNXbFo=; b=dZhMJpBQK+mIgefHwYAjz1ow7rX8m4ZW0hDkHvr6so7DOuzSm9AT21F6HAIfU0dZeI XFzgQmOeJWLi/jgD15CP7FuJSczPTinoRSCRCAbYasgaYRR/9sPy0Lg6qAusqsgWjzX7 octIIUj6zXSB2h3apR4NmjCDeYR8MuQ/KrLTldSTKGtBIEy5dRdw0nBJGHy1qjpm9gVd jtpvQjnkmPeLViIgQm+928mVMKsobmvE9vfs+Z8JJGBL94i6z/m0di7F63AXBvK9B6X9 dCPmPkh5gwZkcVNfygAm8xcc6AsIcDCtpxdj+k4tsfBX2TwCNfoqJyCHTUE4KLaLsXcO QvvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=yBWxKb5S4j9otR2hWrcjtYdeQsZguFFbik2UiXNXbFo=; b=Rc6z044s0NQ3mwZUfKCzluSInBWg0ubZdyBvkHhtzn2+D0RFfN2KHDBTVOzZvkWjFY lmCvPiOuA7c93zfO6W684BAYogA1dIbcLeH593PzBpVUOQVn4noMxvSN0KMas42wMHXr b/SQ9bILygRR7gHXftQ+/zI2ohIfrdPVpNjT3vCYdwqmsMlcMflAVbbuTmEOfaf43hwG arVT6+aYM4B/R1RC8H+1CzEpt+fbMZABr+FSjUT64HMS6Hqyt4zPtiimYwLbUnkISr9I XY+Jg1+B4ziHcOo4Imvxw2NvvLZ0aEARTcRBYWVAIoB/elhvwvpO90B3ud0OnVOu52Iy kDcQ== X-Gm-Message-State: AODbwcBDrvNlmlyeUjIwQYFE9rCHa9xoU6wpVcmDuM4l/wfbSp2rb4io DsdMJsrg+fJyv06Ll6HO0f6Lsu11ESSxUCI= X-Received: by 10.80.176.102 with SMTP id i93mr12840348edd.116.1496579659185; Sun, 04 Jun 2017 05:34:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.175.1 with HTTP; Sun, 4 Jun 2017 05:33:38 -0700 (PDT) In-Reply-To: References: From: Byung-Gon Chun Date: Sun, 4 Jun 2017 21:33:38 +0900 Message-ID: Subject: Re: REEF error propagation standard To: dev@reef.apache.org Content-Type: multipart/alternative; boundary="f403045c7dfcf6c1960551219a43" archived-at: Sun, 04 Jun 2017 12:34:29 -0000 --f403045c7dfcf6c1960551219a43 Content-Type: text/plain; charset="UTF-8" Hi Doug, I don't think we have *formal* exception handling rules. The following stack overflow page shows a set of good rules. https://stackoverflow.com/questions/3551221/guidelines-on-exception-propagation-in-java Thanks! -Gon On Sun, Jun 4, 2017 at 12:40 PM, Douglas Service wrote: > Is there any documentation on error handling standards in REEF? For example > when should one throw and exception and when should one log the error? I > have put out a pull request for REEF-1763, but I think error handling may > need to be addressed to make it more consistent with current REEF > standards. > > Doug > -- Byung-Gon Chun --f403045c7dfcf6c1960551219a43--