首页 > 代码库 > org.apache.hadoop.fs-ChecksumException

org.apache.hadoop.fs-ChecksumException


当ChecksumFileSystem出现问题时抛出


 1 package org.apache.hadoop.fs; 2  3 import java.io.IOException; 4  5 /** Thrown for checksum errors. */ 6 public class ChecksumException extends IOException { 7   private long pos; 8   public ChecksumException(String description, long pos) { 9     super(description);10     this.pos = pos;11   }12   13   public long getPos() {14     return pos;15   }16 }

  


 

org.apache.hadoop.fs-ChecksumException