FileSystem API - The Flags interface

2011-10-09 Thread Bronislav Klučka

Hello,
http://www.w3.org/TR/file-system-api/#the-flags-interface
If you look at the description of exclusive flag (4.2.1), the 
description states no exception, but the example (4.2.2) uses 
exception to determine whether file already existed.

So the question is, what is wrong: the description or example?

Brona Klucka




Re: FileSystem API - The Flags interface

2011-10-09 Thread Eric U
The exception is thrown by getFile on DirectoryEntrySync, not by the
Flags constructor; both the example and the flags interface are
correct.

On Sat, Oct 8, 2011 at 11:54 AM, Bronislav Klučka
bronislav.klu...@bauglir.com wrote:
 Hello,
 http://www.w3.org/TR/file-system-api/#the-flags-interface
 If you look at the description of exclusive flag (4.2.1), the description
 states no exception, but the example (4.2.2) uses exception to determine
 whether file already existed.
 So the question is, what is wrong: the description or example?

 Brona Klucka