Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46A2E17CA4 for ; Sun, 8 Feb 2015 21:20:48 +0000 (UTC) Received: (qmail 52350 invoked by uid 500); 8 Feb 2015 21:20:48 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 52301 invoked by uid 500); 8 Feb 2015 21:20:48 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 52289 invoked by uid 99); 8 Feb 2015 21:20:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2015 21:20:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dsetrakyan@gridgain.com designates 209.85.218.50 as permitted sender) Received: from [209.85.218.50] (HELO mail-oi0-f50.google.com) (209.85.218.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2015 21:20:22 +0000 Received: by mail-oi0-f50.google.com with SMTP id v1so4075835oia.9 for ; Sun, 08 Feb 2015 13:18:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=xAkS8TXjjn7C7RYe5rm6JYUvFgBQJRf6AOaCrP5g6KY=; b=iMQgKQDddkSIT3gIIWJczfNHcg6DZWcLpBPp413nlEPrqxIMQH6bmfgDBT4DafQ+ME h6YqSC3BHRW61JqKjQfBXoM1ybr/iFlhDfIcT4/OA5GNmlV7yujjNPRY8IWKFDcor74m 4PzxIng/HL5Jzpki8hBEUp9+KtAI/Iq32am9MYZ7XR6lShAkElODK1y+Yh22orH6wZIZ NiNBYEv3TQkS6nG5sT1i9Ehjdikip4HKESEhTL6NaI3mgh3s6laxQED42qhZ8xcNwhEv hHIuviQJkR46/NM4LZcxYvJBPJZ5fHFG3q/yJSYpsqrLQcLMy7MZhs8C3j0Iib6xLadE EQig== X-Gm-Message-State: ALoCoQmpjYvd0MPuieH1UUUxWst+/RPOM9SwVotQV5sGVb9/DEg41clfHbcdRwwplF3BIYOFnrIC X-Received: by 10.60.70.141 with SMTP id m13mr9640878oeu.86.1423430329700; Sun, 08 Feb 2015 13:18:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.223.133 with HTTP; Sun, 8 Feb 2015 13:18:09 -0800 (PST) In-Reply-To: References: From: Dmitriy Setrakyan Date: Sun, 8 Feb 2015 13:18:09 -0800 Message-ID: Subject: Re: DataStrucutreRemovedException To: Dmitriy Setrakyan Cc: "dev@ignite.incubator.apache.org" Content-Type: multipart/alternative; boundary=001a11335a222a2592050e9a33a8 X-Virus-Checked: Checked by ClamAV on apache.org --001a11335a222a2592050e9a33a8 Content-Type: text/plain; charset=UTF-8 I actually have investigated the usages of this exception, and I think standard JDK IllegalStateException would fit the best in this case. I filed a ticket here: https://issues.apache.org/jira/browse/IGNITE-201 . D. On Thu, Feb 5, 2015 at 11:53 PM, Dmitriy Setrakyan wrote: > Can we just throw IgniteException in that case? It looks very weird to > hold the whole public API package just to throw an exception in some odd > case. > > D. > > On Thu, Feb 5, 2015 at 11:26 PM, Semyon Boikov > wrote: > >> I believe the situation when data structure is used after removing is >> programming error. >> >> On Fri, Feb 6, 2015 at 9:35 AM, Valentin Kulichenko < >> valentin.kulichenko@gmail.com> wrote: >> >> > Why don't we just recreate it in this case? >> > >> > On Thu, Feb 5, 2015 at 10:11 PM, Semyon Boikov >> > wrote: >> > >> > > This exception is throw by data structures's methods is data >> structure is >> > > used after is has been removed. >> > > >> > > On Fri, Feb 6, 2015 at 1:55 AM, Dmitriy Setrakyan < >> dsetrakyan@apache.org >> > > >> > > wrote: >> > > >> > > > Hi, >> > > > >> > > > Can anyone tell me what is DataStructureReovedException is? I am >> seeing >> > > > "datastructres" package and the only class in there is this >> exception. >> > > This >> > > > looks very strange. >> > > > >> > > > D. >> > > > >> > > >> > >> > > --001a11335a222a2592050e9a33a8--