my dog learned polymorphism
The moose likes Java in General and the fly likes Exception thrown while createNewFile() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Exception thrown while createNewFile()" Watch "Exception thrown while createNewFile()" New topic

Exception thrown while createNewFile()

jaibhim max

Joined: Nov 15, 2010
Posts: 21
Hi All,

I am using windows 7 and trying to create a file .testBoringFile on my mounted drive "U:".
I wrote following code.

.testBoringFile gets creates but an exception is thrown while executing"tempFile.createNewFile()".

I referred following link, but doesn't get any useful info.

Can anyone please help me out?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63857

"jaibhim max", please check your private messages for an important administrative matter. Thanks.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Exception thrown while createNewFile()
jQuery in Action, 3rd edition