You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Dmitriy Setrakyan <ds...@apache.org> on 2015/02/05 23:55:05 UTC

DataStrucutreRemovedException

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.

Re: DataStrucutreRemovedException

Posted by Dmitriy Setrakyan <ds...@gridgain.com>.
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 <ds...@apache.org>
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 <sb...@gridgain.com>
> 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 <sb...@gridgain.com>
>> > 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.
>> > > >
>> > >
>> >
>>
>
>

Re: DataStrucutreRemovedException

Posted by Dmitriy Setrakyan <ds...@apache.org>.
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 <sb...@gridgain.com> 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 <sb...@gridgain.com>
> > 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.
> > > >
> > >
> >
>

Re: DataStrucutreRemovedException

Posted by Semyon Boikov <sb...@gridgain.com>.
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 <sb...@gridgain.com>
> 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.
> > >
> >
>

Re: DataStrucutreRemovedException

Posted by Valentin Kulichenko <va...@gmail.com>.
Why don't we just recreate it in this case?

On Thu, Feb 5, 2015 at 10:11 PM, Semyon Boikov <sb...@gridgain.com> 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 <ds...@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.
> >
>

Re: DataStrucutreRemovedException

Posted by Semyon Boikov <sb...@gridgain.com>.
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 <ds...@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.
>