> Hi Fredrik!
> One comment:
>
> Fredrik Borgh skrev:
> > You cannot however cast downwards in an object hierarchy (you can
> > cast from EJB_DSHome to EJBHome, but not the otherway around).
> There is no problem casting the otherway around but you may use
> instanceof first to check that it is possible or catch the possible
> ClassCastException.
Sorry, my mistake. I was thinking about when you have an instance of - say
- java.util.Date and try to cast it to java.sql.Date, which doesn't work.
Perhaps it's the nice weather that's getting to me... :)
Fredrik...
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]