Re: File Not Found Error Message

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/File-Not-Found-Error-Message-tp3692975p3692976.html

Hi Shekar,

it seems that you have not specified a directory where you have write  
permission.

java.io.FileNotFoundException
This exception will be thrown ... when a file with the specified  
pathname does not exist. It will also be thrown by these constructors  
if the file does exist but for some reason is inaccessible, for  
example when an attempt is made to open a read-only file for writing.

Michael
________________________________________________________________

On 13 Apr 2009, at 01:40, Shekar Eswarakrishnan wrote:

> I keep getting an error that says:
>
> "Errorjava.io.FileNotFoundException: Values.txt (Access is Denied)"
>
> I'm trying to output values from a matrix to a text file and I keep  
> getting this
> error.  It will not even let me output a string to the text file.
>
> The matrix is the localTransform matrix created in the code and I  
> want to output
> the second and third values in the third column.
>
> The attached code I made builds on the StackReg_ code already  
> created for
> imageJ.  My additions are in lines 1801-1805 and the localTransform  
> matrix is
> created in line 1110.
>
> Thank You
>
> Shekar<XandY_translation.txt>