1 /* Copyright (c) 2003 The Nutch Organization. All rights reserved. */2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */3 4 package net.nutch.protocol.file;5 6 /** Thrown for File error codes.7 */8 public class FileError extends FileException {9 10 private int code;11 12 public int getCode(int code) { return code; }13 14 public FileError(int code) {15 super("File Error: " + code);16 this.code = code;17 }18 19 }20