aspose file tools*
The moose likes Beginning Java and the fly likes Working on a Sample Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Working on a Sample Program" Watch "Working on a Sample Program" New topic
Author

Working on a Sample Program

Alex Hutchinson
Greenhorn

Joined: Nov 01, 2008
Posts: 3
Howdy!..I'm working on sample programs so that I can get the hang of this here Java... so far I've been doing ok.. but I ran into a little issue..can someone explain it to me?
My program was built successfully but what I got was the below:

Exception in thread "main" java.lang.UnsupportedOperationException: Not yet implemented
at ch3circle4.DecimalFormat.<init>(DecimalFormat.java:15)
at ch3circle4.Main.main(Main.java:27)
Java Result: 1


what does UnsupportedOperationException: Not yet implemented mean?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18101
    
  39

what does UnsupportedOperationException: Not yet implemented mean?


Well, it is your code. You should tell us what does it mean.



The exception is thrown from the constructor of a class named "DecimalFormat", which is located in a package named "ch3circle4". I am assuming that this is a class that you wrote, or got from somewhere.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Alex Hutchinson
Greenhorn

Joined: Nov 01, 2008
Posts: 3
I'm learning how to run programs, this one in particular is from my text chapter. So far I thought I was doing all that I was suppose to do. But I came up with the issue in question
Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 347
Howdy Alex!

What Henry is probably trying to say is that the class DecimalFormat that you are using is not part of standard java but some customized class.
It looks like the constructor has not been implemented and throwing the exception.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
It probably means it was created on NetBeans which seems to write "throw new UnsupportedOperationException("Not implemented yet");" in every new method. You are supposed to delete that when you implement the method.
Alex Hutchinson
Greenhorn

Joined: Nov 01, 2008
Posts: 3
GREAT!!...I do believe you are correct b/c I ran another program and I received the same messages. However, the build was successful..

Thanks much
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working on a Sample Program
 
Similar Threads
Truncated text in JLabel
Conversion tool - Please help
To Joshua Bloch and Neal Gafter
Parsing excel data - Urgent
Why main is declared as static?