It's not a secret anymore!
The moose likes Beginning Java and the fly likes processLine Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "processLine" Watch "processLine" New topic
Author

processLine

E Jen
Greenhorn

Joined: Oct 22, 2006
Posts: 5
I am getting a couple of errors with the following code:



The errors are:

void is an invalid type for the variable processLine
Syntax error on token "(", ; expected
Syntax error on token ")", ; expected

Can anybody please help me try to fix this?

Thanks in advance!
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2341
Are you declaring a method inside your try block?
E Jen
Greenhorn

Joined: Oct 22, 2006
Posts: 5
Sorry, I see what I did. Thanks anyway.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: processLine
 
Similar Threads
Arraylist
String to integer conversion
creating a new object in an ArrayList
HELP!
constructor to add to an array list