You're right, I was looking at the no-arg bytesPastMark overload.  Sorry!

On Fri, Mar 4, 2011 at 2:32 PM, Terje Marthinussen
<tmarthinus...@gmail.com> wrote:
> Are you entirely sure?
> My Eclipse disagree and the Exception we had a day ago in a 0.7.3 install
> disagree too :)
>
> Terje
>
> On Sat, Mar 5, 2011 at 5:01 AM, Jonathan Ellis <jbel...@gmail.com> wrote:
>>
>> That method is unused, so it's a little academic.
>>
>> On Fri, Mar 4, 2011 at 1:36 PM, Terje Marthinussen
>> <tmarthinus...@gmail.com> wrote:
>> > Hi,
>> >
>> > Any good reason this guy
>> >  public int bytesPastMark(FileMark mark)
>> >    {
>> >        assert mark instanceof BufferedRandomAccessFileMark;
>> >        long bytes = getFilePointer() - ((BufferedRandomAccessFileMark)
>> > mark).pointer;
>> >
>> >        assert bytes >= 0;
>> >        if (bytes > Integer.MAX_VALUE)
>> >            throw new UnsupportedOperationException("Overflow: " +
>> > bytes);
>> >        return (int) bytes;
>> >    }
>> >
>> > does not show an error more like "Overflow: Maximum row size 2GB.
>> > Currently:" + bytes?
>> >
>> > Error you get today is not exactly self explaining :)
>> >
>> > Terje
>> >
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to