Code example for IOError

0
                else 
                    ColumnFamily.serializer.serialize((ColumnFamily) cf, out);
            } 
            catch (IOException e)
            { 
                throw new IOError(e);
            } 
        } 
 
        public IRowCacheEntry deserialize(DataInput in) throws IOException
        { 
            boolean isSentinel = in.readBoolean();
            if (isSentinel)
                return new RowCacheSentinel(in.readLong());
            return ColumnFamily.serializer.deserialize(in);
        } 
 
        public long serializedSize(IRowCacheEntry cf)
        { 
            return DBConstants.boolSize