comparison src/org/tmatesoft/hg/core/HgLibraryFailureException.java @ 690:b286222158be

Fix file.isCopy() use for status and cat commands
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 01 Aug 2013 21:45:47 +0200
parents 31a89587eb04
children
comparison
equal deleted inserted replaced
689:5050ee565bd1 690:b286222158be
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 *
30 30
31 public HgLibraryFailureException(HgRuntimeException cause) { 31 public HgLibraryFailureException(HgRuntimeException cause) {
32 super(cause); 32 super(cause);
33 assert cause != null; 33 assert cause != null;
34 } 34 }
35 35
36 public HgLibraryFailureException(String extraDetails, HgRuntimeException cause) {
37 super(extraDetails, cause);
38 assert cause != null;
39 }
40
36 @Override 41 @Override
37 public HgRuntimeException getCause() { 42 public HgRuntimeException getCause() {
38 return (HgRuntimeException) super.getCause(); 43 return (HgRuntimeException) super.getCause();
39 } 44 }
40 } 45 }