Package org.hypertable.Common

Examples of org.hypertable.Common.HypertableException


        buf.position(saved_position);
        buf.get(header_buffer, 0, header_length);
        int computed_checksum = Checksum.fletcher32(header_buffer, 0,
                                                    header_length);
        if (computed_checksum != header_checksum)
            throw new HypertableException(Error.COMM_HEADER_CHECKSUM_MISMATCH);
        buf.position(saved_position + header_length);
    }
View Full Code Here

TOP

Related Classes of org.hypertable.Common.HypertableException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.