RE: proxy ClassCastException

2003-11-26 Thread Ken Brewer
Did you find this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg06219.html in the archive. It solved all my proxy problems thus far. -Ken > -Original Message- > From: Glauber Andrade [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2003 10:28 AM > To: [EMAIL PROTECTED]

RE: proxy ClassCastException

2003-11-26 Thread Charles Anthony
You must cast to InterfaceNotaRecibo not NotaRecibo. > -Original Message- > From: Glauber Andrade [mailto:[EMAIL PROTECTED] > Sent: 26 November 2003 15:28 > To: [EMAIL PROTECTED] > Subject: proxy ClassCastException > Importance: High > > > I am trying to use proxy (my first time) and I

Re: Proxy: ClassCastException with casting interface

2003-09-11 Thread Joerg Lensing
[EMAIL PROTECTED] wrote: I don't mean to be insulting, but you seem to be operating with a very poor understand of Java classes/interfaces/objects/references. You do not cast one class to another. You cast one object to a particular class. thats exactly what i did, but my "code-example" wasn't cl

Re: Proxy: ClassCastException with casting interface

2003-09-11 Thread David . Corbin
I don't mean to be insulting, but you seem to be operating with a very poor understand of Java classes/interfaces/objects/references. You do not cast one class to another. You cast one object to a particular class. For example, you might have: AbstractPersistentIF po = loadObject(x); PartnerIF