[XADISK-134] spurious XADisk Error [Native Module] Directory C:\ does not exist needs better error message Created: 26/Feb/13  Updated: 26/Feb/13

Status: Open
Project: xadisk
Component/s: filesystem
Affects Version/s: 1.2.1
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: gunnar_zarncke Assignee: Nitin Verma
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 64-bit, Java 1.7, Eclipse Juno, Open EJB



 Description   

Sometimes I get an error message

"XADisk Error [Native Module] Directory C:\ does not exist."

Which is written to stdout by XADiskWindows.c (Line 35).

I couldn't further isolate the cause of this.

As an improvement I propose to to call GetLastError to get more details of the error and log this code too. Or even better to raise an exception with the found status code.

See also
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx


Generated at Thu Dec 08 12:24:10 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.