Thread: objects in java
View Single Post
Old Feb 27th, 2005, 8:19 PM   #2
groovicus
Programmer
 
Join Date: Nov 2004
Posts: 84
Rep Power: 4 groovicus is on a distinguished road
What line is throwing the error? That is an enumeration error, and I am guessing that it is maybe this line:
check = tok.nextToken();

ummm..now I think I understand....look at the following line of code:
StringTokenizer tok = new StringTokenizer(this.getInput());

What is that line of code supposed to be doing? How can you check to see if it is doing what you think it is doing? What I am guessing is happening is that you are returning a null value, and when you hit the
check = tok.nextToken();
it is throwing an error because there is no next token. I'm not sure though, because I can't get your code to run properly yet. :?
__________________
HijackThis Team-SFDC
groovicus is offline   Reply With Quote