java.lang.UnsupportedOperationException: Not yet implemented
help~!
I got this error msg "java.lang.UnsupportedOperationException: Not yet implemented".
I was just trying trying to run my program that pick up information/records and to ftp to the ftp server.
Kindly advise.
PS/ i googled but could not find much info on this exception
Below is a small segment of my code on the ftp:
if(haveRecord && haveAlert){
String filename = outFilePath+new java.util.Date().getTime()+"_"+outFileName;
aml.exportFile(filename);
eventlog.writeln("Message list " + filename +" generated");
eventlog.writeln("FTP " + filename );
DosCommander.exec("cmd /C ftpBatch ", eventlog);
eventlog.writeln("Move " + filename +" to archive");
System.gc();
DosCommander.exec("cmd /C moveFile \"" + filename +"\"", eventlog);
}else{
eventlog.writeln("No message for this round");
stopPoll();
}
[1381 byte] By [
peachteaa] at [2007-11-27 7:39:09]

> I got this error msg
> "java.lang.UnsupportedOperationException: Not yet
> implemented".
>
> I was just trying trying to run my program that pick
> up information/records and to ftp to the ftp server.
>
you're obviously calling some code that is, quite literally, Not yet implemented. the exception's stack trace should tell you exactly what and where
> Kindly advise.
look for a more recent version of whatever library you are using
Hi
I am not exactly too clear on what you mean
btw if it helps, im using 1.5.0_11.... does the version matters?
my exact error msg is this:
[2007-06-15 16:42:22] Error in trigger [Error] java.lang.UnsupportedOperationExc
eption: Not yet implemented
java.lang.UnsupportedOperationException: Not yet implemented
at Logger.writeIn(Logger.java:105)
at DosCommander.exec(DosCommander.java:33)
at PartialFillAlerter.trigger(PartialFillAlerter.java:383)
at MainAlerter.main(MainAlerter.java:13)
[2007-06-15 16:42:22] Error in trigger [Error] java.lang.UnsupportedOperationExc
eption: Not yet implemented
i've check Logger.writeIn (line 105) (for example)
and the code is
void writeIn(String string) {
throw new UnsupportedOperationException("Not yet implemented");
}
So what am i suppose to do next? If i have called it "unintentionally", how do i un-call it?
Sorry .... first time encounter this exception.... so might take up some time to understand and rectify this.
Thanks you for ur understanding n patience
btw, it could be great if any of you can show me the steps or things to check/look out for ... so that the exception could be rectify! thanks!
Message was edited by:
peachtea
Message was edited by:
peachtea
throwing this exception is a way to let code indicate that it is not ready yet, but presumably it will be fully implemented in a future version. but since i don't know the library you are using, i just don't know do i
> btw, it could be great if any of you can show me the steps
- find out where this DosCommander and especially Logger classes come from (there are many logging libraries).
- if Logger is in a library, look for a more recent version of it and see if it's fully implemented there
- or if DosCommander is your code, omit that call to Logger as a quick workaround
btw,
writeIn
//is suspect, shouldn't this rather be
writeLn