Hi
I am writing a program like this ...
DataOutputStream out = Connector.openDataOutputStream("scratchpad:///0");
out.write(("Something").getBytes(),0,4);
out.close();
But when I execute the code using DOJA emulator , I am getting following
error ...
Exception: com/nttdocomo/io/ConnectionException
com/nttdocomo/io/reference/scratchpad/ScratchpadOutputStream.write
(virtual) IP = 51
java/io/DataOutputStream.write (virtual) IP = 8
java/io/DataOutputStream.writeInt (virtual) IP = 12
Example$ButtonCommand.saveScratchPad (virtual) IP = 20
Example$ButtonCommand.componentAction (virtual) IP = 52
com/nttdocomo/ui/PanelImpl.fireComponentEvent (virtual) IP = 29
com/nttdocomo/ui/ButtonImpl.processEvent (virtual) IP = 82
com/nttdocomo/ui/PanelImpl.processKey (virtual) IP = 39
com/nttdocomo/ui/EventDispatcher.run (virtual) IP = 120
com.nttdocomo.io.ConnectionException
Can any body help me , why I am geetign this error ?
When I try to view the scratchpad , I am getting following message ...
viewscratch
java.io.FileNotFoundException: C:\TEMP\<JAR FILE NAME >.jar.scr (The system
cannot find the file specified)
Please help ..
Regards ,
Dibyendu .
Received on Fri Apr 12 17:19:33 2002