On Tue, May 6, 2008 at 7:47 PM, Peter Neubauer <[EMAIL PROTECTED]> wrote:
> Mmh,
>  I understand that, so if I have an Interface Issue and a composite
>  IssueEntity I would try to get an instance via
>
>  Issue issue = uow.newEntity(Issue.class);
>
>  and qi4j wil figure our that there is an IssueEntity that extends
>  Issue? But if there isn't such a construction and I just do
>
>  Double latittude = uow.newEntity(Double.class); what happens? Could we
>  give back a reasonable Exception that explains that you have to have
>  an Entity extended somewhere in order to use this?

AFAIK;

AmbiguousMixinTypeException  --> There are more than one visible
Composite of the given type.
MixinTypeNotAvailableException  --> There is no visible Composite of
the given type.


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to