Yes, something like "you need to have Entity interface in your class hirachy for this ...."
/peter On Tue, May 6, 2008 at 2:05 PM, Niclas Hedhman <[EMAIL PROTECTED]> wrote: > Ooops. You can't have that.... > > MixinMappingException instead with a explanatory message. > > > Cheers > Niclas > > > > On Tue, May 6, 2008 at 8:04 PM, Niclas Hedhman <[EMAIL PROTECTED]> wrote: > > > > On Tue, May 6, 2008 at 8:00 PM, Niclas Hedhman <[EMAIL PROTECTED]> wrote: > > > On Tue, May 6, 2008 at 7:58 PM, Niclas Hedhman <[EMAIL PROTECTED]> > wrote: > > > > > > > AmbiguousMixinTypeException --> There are more than one visible > > > > Composite of the given type. > > > > MixinTypeNotAvailableException --> There is no visible Composite of > > > > the given type. > > > > > > And if a Composite is found but not an EntityComposite, you will get > > > > > > ClassCastException in UnitOfWorkInstance:line150 > > > > > > which is perhaps not good... > > > > And I just changed the code so you get a InvalidCompositeException > instead. > > > > > > Cheers > > Niclas > > > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev > > -- GTalk: neubauer.peter Skype peter.neubauer ICQ 18762544 GTalk neubauer.peter Phone +46704 106975 LinkedIn http://www.linkedin.com/in/neubauer http://www.neo4j.org - New Energy for Data - the Graph Database. http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development. _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

