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 }

  


 

posted @ 2014-10-13 15:54  Daem0n  阅读(700)  评论(0编辑  收藏  举报