comparison src/org/tmatesoft/hg/core/HgIOException.java @ 618:7c0d2ce340b8

Refactor approach how content finds it way down to a commit revision
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 16 May 2013 19:46:13 +0200
parents 0205a5c4566b
children 6526d8adbc0f
comparison
equal deleted inserted replaced
617:65c01508f002 618:7c0d2ce340b8
1 /* 1 /*
2 * Copyright (c) 2012 TMate Software Ltd 2 * Copyright (c) 2012-2013 TMate Software Ltd
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License. 6 * the Free Software Foundation; version 2 of the License.
7 * 7 *
43 public HgIOException(String message, Exception cause, File troubleFile) { 43 public HgIOException(String message, Exception cause, File troubleFile) {
44 super(message, cause); 44 super(message, cause);
45 file = troubleFile; 45 file = troubleFile;
46 } 46 }
47 47
48 /**
49 * @return file that causes trouble, may be <code>null</code>
50 */
48 public File getFile() { 51 public File getFile() {
49 return file; 52 return file;
50 } 53 }
51 } 54 }