On Sunday 14 March 2004 20:48, Niclas Hedhman wrote:
> On Sunday 14 March 2004 19:44, Daniel Frey wrote:
> >         Object object = manager.lookup( "locator" );
> >         if( object instanceof LocationService )
> >         {
> >             locator = (LocationService) object;
> >         }
> >         else
> >         {
> >             final String error =
> >               "Object " + object.getClass().getName()
> >               + " does not implement the LocatorService class.";
> >             throw new ServiceException( "locator", error );
> >         }
> >     ...
> I guess I am the guilty one here. I copied the code from another tutorial
> (so if you search, you'll probably find it elsewhere as well).

i guess I wasn't guilty after all. You found the source of where I copied from 
(hence I thought it looked familiar)... :o)

Niclas

-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to