This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes UnsupportedOperationException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "UnsupportedOperationException" Watch "UnsupportedOperationException" New topic
Author

UnsupportedOperationException

Joey Alencar
Ranch Hand

Joined: Jun 26, 2001
Posts: 43
Hi, what could cause this exception?
Thanks.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Joey
It means that whatever it is you're trying to do isn't supported by whatever you're trying to do it to.
What are you doing when it happens?
Try to catch it and then print the stack trace and the message from the exception.
If that doesn't help you out, post the results here and we'll give it a shot.


Dave
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Hello Joey,
Tip: A lot of great information can be gleaned from The API Specification
(Just in case you hadn't run across it yet.)
Good Luck.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
 
subject: UnsupportedOperationException