Package org.jnetstream.capture.file

Examples of org.jnetstream.capture.file.BufferException


  public void skip() throws IOException {
    final long regional = this.segment.mapGlobalToRegional(this.global);
    final long length = this.getRecordLength(regional, this.headerReader);

    if (length < this.headerReader.getMinLength()) {
      throw new BufferException("Read length is less then minimum length",
          null, regional, (int) length, false, this.headerReader);
    }
   
    this.setPosition(this.global + length);
View Full Code Here

TOP

Related Classes of org.jnetstream.capture.file.BufferException

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.