public void setFailureType(FailureType fType) {
    this.ft = fType;
  }
This is a utility class, used by tests, which fails operation specified by FailureType enum
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/FaultyFSLog.java