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 EEA1F200B5E for ; Wed, 10 Aug 2016 09:28:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ED4F7160AB8; Wed, 10 Aug 2016 07:28:21 +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 6EB9E160A90 for ; Wed, 10 Aug 2016 09:28:21 +0200 (CEST) Received: (qmail 22235 invoked by uid 500); 10 Aug 2016 07:28:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 22204 invoked by uid 99); 10 Aug 2016 07:28:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2016 07:28:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B2B12C02A1 for ; Wed, 10 Aug 2016 07:28:20 +0000 (UTC) Date: Wed, 10 Aug 2016 07:28:20 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-3668) IGFS: Local secondary: Review all "throw new IOException" places. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 Aug 2016 07:28:22 -0000 Vladimir Ozerov created IGNITE-3668: --------------------------------------- Summary: IGFS: Local secondary: Review all "throw new IOException" places. Key: IGNITE-3668 URL: https://issues.apache.org/jira/browse/IGNITE-3668 Project: Ignite Issue Type: Sub-task Components: IGFS Affects Versions: 1.7 Reporter: Vladimir Ozerov Assignee: Taras Ledkov Fix For: 1.8 We have several places in {{LocalIgfsSecondaryFileSystem}} where {{IOException}} is thrown. This is not correct, because: 1) Exception must be specific. E.g. "path-not-found-exception". 2) It doesn't make sense to throw {{IOException}} and cast it to {{IgfsException}} immediately. Also we should not throw {{IgniteException}}. Proper {{IgfsException}} must be thrown. Let's review all these places and replace {{IOException}} with proper {{IgfsException}} inheritor. Successful implementation should not introduce any new test failures. -- This message was sent by Atlassian JIRA (v6.3.4#6332)