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

Reply via email to