diff 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
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgLibraryFailureException.java	Sat Jul 27 22:06:14 2013 +0200
+++ b/src/org/tmatesoft/hg/core/HgLibraryFailureException.java	Thu Aug 01 21:45:47 2013 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012 TMate Software Ltd
+ * Copyright (c) 2012-2013 TMate Software Ltd
  *  
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,7 +32,12 @@
 		super(cause);
 		assert cause != null;
 	}
-	
+
+	public HgLibraryFailureException(String extraDetails, HgRuntimeException cause) {
+		super(extraDetails, cause);
+		assert cause != null;
+	}
+
 	@Override
 	public HgRuntimeException getCause() {
 		return (HgRuntimeException) super.getCause();