jmud-0.11/
jmud-0.11/bin/
jmud-0.11/doc/
jmud-0.11/rec/
jmud-0.11/rec/mun/
jmud-0.11/rec/mun/grecia/
jmud-0.11/rec/mun/gunnar/
jmud-0.11/rec/qua/
jmud-0.11/src/bool/
jmud-0.11/src/clone/
jmud-0.11/src/integer/
jmud-0.11/src/misc/
jmud-0.11/src/string/
jmud-0.11/src/util/bit/
jmud-0.11/src/util/color/
jmud-0.11/src/util/file/
jmud-0.11/src/util/jgp/adaptor/
jmud-0.11/src/util/jgp/algorithm/
jmud-0.11/src/util/jgp/container/
jmud-0.11/src/util/jgp/functor/
jmud-0.11/src/util/jgp/interfaces/
jmud-0.11/src/util/jgp/predicate/
jmud-0.11/src/util/log/
jmud-0.11/src/util/state/
jmud-0.11/trash/
package util.file;

public class InvalidFileFormatException extends Exception {

  private String theFileName   = null;
  private String theLocation   = null;  // where in the source code
  private String theReason     = null;  // why?
  private String theLine       = null;
  private int    theLineNumber = 0;

  static private final String UNKNOWN = "desconhecido(a)";

  public InvalidFileFormatException() {
    theFileName   = UNKNOWN;
    theLocation   = UNKNOWN;
    theReason     = UNKNOWN;
    theLine       = UNKNOWN;
  }

  public InvalidFileFormatException(String fileName, String location, String reason, String line, int lineNumber) {
    super("\r\n       file: " + fileName + 
	  "\r\n   location: " + location + 
	  "\r\n     reason: " + reason + 
	  "\r\n       line: " + line + 
	  "\r\nline number: " + lineNumber);
    theFileName   = fileName;
    theLocation   = location;
    theReason     = reason;
    theLine       = line;
    theLineNumber = lineNumber;
  }
}