Hi all,
I have developed a voice recorder but while running in the device, it throws exception.

In nokia N70 : java.io.IOEXception pening a connection failed :-5
Can anyone please please advice me on that??I t's really urgent...

Thank you in advance...
here is my code:

FileConnection fc = null;
DataOutputStream dos = null;
fc = (FileConnection)Connector.open("file:///E:/");
if (!fc.exists())
{
fc.mkdir();
}
fc = (FileConnection) Connector.open("file:///E:/test.wav");
if (!fc.exists())
{
fc.create();
}
dos = fc.openDataOutputStream();
dos.write( recordedSoundArray);

}