Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Parameter type Class causes UnsoppertedOperationException
Parameter type Class causes UnsoppertedOperationException [message #19075] Thu, 12 February 2004 11:40 Go to next message
Eclipse UserFriend
Statement aProperty.setNumberClass(Short.class) causes a
UnsoppertedOperationException (parameter type Class), the visual Class can
not be opened.

The implementing method
org.eclipse.jem.internal.proxy.remote.REMClassBeanTypeProxy# newIstance(String)
mentions:

* Note: Since new instances of Class are never done through a
initialization strings, this function is not supported.

Will the next release be able to handle parameter type Class?

Thanks & regards
Peter
Re: Parameter type Class causes UnsoppertedOperationException [message #19083 is a reply to message #19075] Thu, 12 February 2004 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Short answer: Yes!

Peter Villiger wrote:
> Statement aProperty.setNumberClass(Short.class) causes a
> UnsoppertedOperationException (parameter type Class), the visual Class can
> not be opened.
>
> The implementing method
> org.eclipse.jem.internal.proxy.remote.REMClassBeanTypeProxy# newIstance(String)
> mentions:
>
> * Note: Since new instances of Class are never done through a
> initialization strings, this function is not supported.
>
> Will the next release be able to handle parameter type Class?
>
> Thanks & regards
> Peter
>

--
Thanks, Rich Kulp

Re: Parameter type Class causes UnsoppertedOperationException [message #19087 is a reply to message #19075] Thu, 12 February 2004 12:26 Go to previous message
Eclipse UserFriend
Hi Peter,

See Rich's reply, but in the meantime you could change it to be a String, and then
in your code just do a Class.forName(className). It's not as efficient as it
involves reflection to look up the class you already had, but it should work.

Best regards,

Joe Winchester
Re: Parameter type Class causes UnsoppertedOperationException [message #580918 is a reply to message #19075] Thu, 12 February 2004 12:17 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Short answer: Yes!

Peter Villiger wrote:
> Statement aProperty.setNumberClass(Short.class) causes a
> UnsoppertedOperationException (parameter type Class), the visual Class can
> not be opened.
>
> The implementing method
> org.eclipse.jem.internal.proxy.remote.REMClassBeanTypeProxy# newIstance(String)
> mentions:
>
> * Note: Since new instances of Class are never done through a
> initialization strings, this function is not supported.
>
> Will the next release be able to handle parameter type Class?
>
> Thanks & regards
> Peter
>

--
Thanks, Rich Kulp

Re: Parameter type Class causes UnsoppertedOperationException [message #580934 is a reply to message #19075] Thu, 12 February 2004 12:26 Go to previous message
Eclipse UserFriend
Hi Peter,

See Rich's reply, but in the meantime you could change it to be a String, and then
in your code just do a Class.forName(className). It's not as efficient as it
involves reflection to look up the class you already had, but it should work.

Best regards,

Joe Winchester
Previous Topic:Parameter type Class causes UnsoppertedOperationException
Next Topic:About a characteristic of VE.
Goto Forum:
  


Current Time: Thu May 08 15:29:22 EDT 2025

Powered by FUDForum. Page generated in 0.05766 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top