aspose file tools*
The moose likes Beginning Java and the fly likes Error- wot am i doing wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Error- wot am i doing wrong?" Watch "Error- wot am i doing wrong?" New topic
Author

Error- wot am i doing wrong?

Naf Rash
Ranch Hand

Joined: Feb 19, 2004
Posts: 85
I have the follwoing error in my code and I can't understand why. The piece of code to which it refers is
private Vector euclidean(ResultSetMetaData rsmd){
The error is:
ErrorSyntax error on token "(", ";" expected
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'd guess that above this line of code, you're missing a semicolon.
If you're not able to resolve the issue, then you could always post a more complete code example, and I'm sure other JavaRanchers will be able to assist you.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Sadanand Murthy
Ranch Hand

Joined: Nov 26, 2003
Posts: 382
A small piece of advice, Naf. Whenever you get a syntax error on a line of code, don't assume that that line of code has a problem. The line before it may have the error.


Ever Existing, Ever Conscious, Ever-new Bliss
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error- wot am i doing wrong?