Re: _WonderEntity template

From: Anjo Krank (kran..ogicunited.com)
Date: Tue Jul 15 2008 - 06:50:32 EDT

  • Next message: Mike Schrag: "new errors/warnings config"

    Yeah, right.

    http://www.quotedb.com/quotes/662

    Cheers, Anjo

    --
    iFill, free music from thousands of radio streams
    http://ifill.twosailors.net
    

    Am 15.07.2008 um 12:37 schrieb Q:

    > > On 15/07/2008, at 6:00 PM, Anjo Krank wrote: > >> FFIW, when you use the clazz-pattern, you get most of this stuff >> for free. >> > > More wisdom. Anjo, you need to write a book. > >> Cheers, Anjo >> -- >> iFill, free music from thousands of radio streams >> http://ifill.twosailors.net >> >> Am 15.07.2008 um 09:50 schrieb Lachlan Deck: >> >>> On 13/07/2008, at 11:23 PM, Mike Schrag wrote: >>> >>>>> a couple of suggestions for consistency + reuse. It'd be worth >>>>> making more use of ERXEOControlUtilities. e.g., >>>>> a) fetch<Entity> throws IllegalStateException if multiple >>>>> records are found rather than EOUtilities.MoreThanOneException >>>>> as does ERXEOControlUtilities.objectForQualifier and EOUtilities. >>>>> b) fetchRequired throws NoSuchElementException rather than >>>>> EOObjectNotAvailableException as does >>>>> ERXEOControlUtilities.requiredObjectForQualifier let alone >>>>> EOUtilities. >>>>> c) creating a record for relation... again make use of >>>>> ERXEOControlUtilities. >>>> Yeah I know ... This is all historical. These templates come >>>> from before my Wonder life. Now I'm hesitant to change the >>>> exceptions that are thrown because they're not checked >>>> exceptions, so if people are catching them explicitly, things >>>> will break with no way of knowing they break at compile time >>>> (checked exceptions: 1, unchecked exceptions: 0). >>> >>> Perhaps we could use a veogen property to allow for backwards >>> compatibility? >>> >>> with regards, >>> -- >>> >>> Lachlan Deck >>> >>> >>> >> > > > > -- > Seeya...Q > > Quinton Dolan - qdola..mail.com > Gold Coast, QLD, Australia (GMT+10) > Ph: +61 419 729 806 > > >



    This archive was generated by hypermail 2.0.0 : Tue Jul 15 2008 - 06:51:17 EDT