Re: Comment on File API's FileData::slice method

2009-10-02 Thread Olli Pettay
On 10/2/09 7:31 AM, Darin Fisher wrote: FileData::slice appears to be spec'd like so: FileData slice(in long long offset, in long long length); // throws FileException This suggests that it may throw a file exception. I'm wondering if that is a requirement? It seems that the rest of the

Re: Comment on File API's FileData::slice method

2009-10-02 Thread Arun Ranganathan
Darin Fisher wrote: FileData::slice appears to be spec'd like so: FileData slice(in long long offset, in long long length); // throws FileException This suggests that it may throw a file exception. I'm wondering if that is a requirement? It seems that the rest of the methods are designed to

Re: Comment on File API's FileData::slice method

2009-10-02 Thread Darin Fisher
On Fri, Oct 2, 2009 at 9:15 AM, Arun Ranganathan aranganat...@mozilla.comwrote: Darin Fisher wrote: FileData::slice appears to be spec'd like so: FileData slice(in long long offset, in long long length); // throws FileException This suggests that it may throw a file exception. I'm

Re: Comment on File API's FileData::slice method

2009-10-02 Thread Darin Fisher
On Fri, Oct 2, 2009 at 4:00 AM, Olli Pettay olli.pet...@helsinki.fi wrote: On 10/2/09 7:31 AM, Darin Fisher wrote: FileData::slice appears to be spec'd like so: FileData slice(in long long offset, in long long length); // throws FileException This suggests that it may throw a file

Re: Comment on File API's FileData::slice method

2009-10-02 Thread Jonas Sicking
On Fri, Oct 2, 2009 at 9:25 AM, Darin Fisher da...@chromium.org wrote: On Fri, Oct 2, 2009 at 4:00 AM, Olli Pettay olli.pet...@helsinki.fi wrote: On 10/2/09 7:31 AM, Darin Fisher wrote: FileData::slice appears to be spec'd like so: FileData slice(in long long offset, in long long length);