Compiling Error

I have a question about this part of the program:

if (!editErrorFound)

{if (hrs > 0 && rt > 0)

staff =new Employee (fn, ln, pos, rt, hrs );

else

staff =new Employee (ln,fn,pos);

}

This part of the code would not compile. What should I do? Here is the error message:

C:\Documents and Settings\Wilson\Desktop\HW4Driver.java:249: cannot find symbol

symbol : constructor Employee(java.lang.String,java.lang.String,java.lang.String,float,float)

location:class Employee

staff =new Employee (fn, ln, pos, rt, hrs ); ^

1 error

Tool completed with exit code 1

Message was edited by:

abc4616

[1014 byte] By [abc4616a] at [2007-10-3 6:47:01]
# 1
It's hard to tell what's wrong because you haven't post the definition of class 'Employee' and the type of the variable 'hrs' and 'rt'.
wf7777a at 2007-7-15 1:37:07 > top of Java-index,Developer Tools,Java Compiler...
# 2
cannot find symbolsymbol : constructor Employee(java.lang.String,java.lang.String,java.lang.String,float,float)This means that there is no constructor in the Employee class that accepts a String, String, String, float, float as parameters.
CaptainMorgan08a at 2007-7-15 1:37:07 > top of Java-index,Developer Tools,Java Compiler...
# 3
It looks like there is a String, String, String constructor though.
CaptainMorgan08a at 2007-7-15 1:37:07 > top of Java-index,Developer Tools,Java Compiler...