RE: another java question--method call not working when it should

  • From: Alex Hall <mehgcap@xxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 31 Mar 2008 23:22:33 -0400

Method signature:
public void parseFilesStack(Scanner[] files) throws exception{

And the call:
parseFilesStack(files);

Have a great day,
Alex

----- Original Message -----
From: "Sina Bahram" <sbahram@xxxxxxxxx
To: <programmingblind@xxxxxxxxxxxxx
Date sent: Mon, 31 Mar 2008 22:55:41 -0400
Subject: RE: another java question--method call not working when
it should

Please paste in here only the signature line of the method.

Take care,
Sina


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex
Hall
Sent: Monday, March 31, 2008 10:37 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: another java question--method call not working when it
should

Hi all. I have a method with return type void, but when I call
it it says
"invalid method declaration; return type required".
Then, for the same line, it says "<identifier> expected". Again,
the method
in question is VOID, meaning no return type. Even when I toss in
a return
statement, returning an int from the method in question, it gives
me the
same errors. Also, is there an easier way to review the list of
compiler
errors in EdSharp than recompiling and listening to them all over
again?
Thanks.

Have a great day,
Alex
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: