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 <[email protected]> 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 <[email protected]> > 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 < >> [email protected]> wrote: >> >> > Why don't we just recreate it in this case? >> > >> > On Thu, Feb 5, 2015 at 10:11 PM, Semyon Boikov <[email protected]> >> > 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 < >> [email protected] >> > > >> > > 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. >> > > > >> > > >> > >> > >
