Re: [lang] propse new ObjectExistsException extends IllegalArgumentException

2011-03-09 Thread Matt Benson
to:dev.tom.men...@gmx.net] > Sent: Montag, 14. Februar 2011 19:16 > To: Commons Developers List > Subject: Re: [lang] propse new ObjectExistsException extends > IllegalArgumentException > > sure, > > anywhere where u want to store objects and where u might not want to all

RE: [lang] propse new ObjectExistsException extends IllegalArgumentException

2011-03-09 Thread dev.tom.menzel
] propse new ObjectExistsException extends IllegalArgumentException sure, anywhere where u want to store objects and where u might not want to allow the addition of "same" objects such as in registries, caches, collections. often they are underpinned with internal sets or maps and at t

Re: [lang] propse new ObjectExistsException extends IllegalArgumentException

2011-02-14 Thread thomas menzel
url himself into an Url Object. hope that helps Original-Nachricht > Datum: Fri, 11 Feb 2011 15:01:32 +0100 > Von: Simone Tripodi > An: Commons Developers List > Betreff: Re: [lang] propse new ObjectExistsException extends > IllegalArgumentException > H

Re: [lang] propse new ObjectExistsException extends IllegalArgumentException

2011-02-11 Thread Henri Yandell
To define a bar on exceptions; they need to be used by Commons Lang. In 3.0 we've dropped the "this would be a better name for an exception" exceptions as it's too easy for that to grow and grow. Hen On Fri, Feb 11, 2011 at 6:01 AM, Simone Tripodi wrote: > Hi Thomas, > can you describe please in

Re: [lang] propse new ObjectExistsException extends IllegalArgumentException

2011-02-11 Thread Simone Tripodi
Hi Thomas, can you describe please in which non-JPA context the exception can become useful? Many thanks in advance, have a nice day, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Fri, Feb 11, 2011 at 10:31 AM, thomas menzel wrote: > hi, > > i suggest a new exception

[lang] propse new ObjectExistsException extends IllegalArgumentException

2011-02-11 Thread thomas menzel
hi, i suggest a new exception under the commons.lang.exception namely ObjectExistsException extends IllegalArgumentException. in the jpa world there is already one like this, bit i think it has merit for also other cases outside of jpa and hence i would like to see it defined in apache's com