View Single Post
  #18 (permalink)  
Old 04-22-2008, 07:52 PM
DonCash's Avatar
DonCash DonCash is offline
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 240
DonCash will become famous soon enoughDonCash will become famous soon enough
Well not having theStub class is the least of your problems by the looks of it.

I know you have removed theStub from

Code:
private static boolean number(String Number, Interface){
But the rest of that code in the block relies on that class.

None of this will work:

Code:
try{ String List = theStub.getnumber(); StringTokenizer tokens = new StringTokenizer (List); while (tokens.hasMoreTokens()) if (tokens.nextToken().equalsIgnoreCase(Number)) return true; }catch (Exception e) {System.out.println("Error : " + e); } return false;
It is being called here:

Code:
String List = theStub.getnumber();
Which you already commented out but with this removed, there is no 'List' which is needed for

Code:
StringTokenizer tokens = new StringTokenizer (List);
You are going to need theStub for any of that to work.

Even with that entire code block removed there are still errors as a result in the Client class.
__________________
Did this post help you? Please
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
me!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by DonCash : 04-22-2008 at 07:58 PM.
Reply With Quote