Skip to main content

[JAVA2D] ClassCastException

1 reply [Last post]
Anonymous

Could someone possibly tell me why or how I might be getting a
ClassCastException even though my code executes and functions without
any problem. When the cast is done in the execution, the exception is
thrown, but everything works perfectly....I would like to figure out how
to get rid of the exception...

Thanks for any help that can be provided.
DAvid

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dmitri Trembovetski

Hi David,

It'd be useful if you supply the code which throws the exception,
and the stack trace from the exception.

Thank you,
Dmitri

On Mon, Oct 11, 2004 at 12:44:04PM +0200, Braun-Friedman, David wrote:
> Could someone possibly tell me why or how I might be getting a
> ClassCastException even though my code executes and functions without
> any problem. When the cast is done in the execution, the exception is
> thrown, but everything works perfectly....I would like to figure out how
> to get rid of the exception...
>
> Thanks for any help that can be provided.
> DAvid
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".