changeset 216:c251bbc979cf

Use correct super cons to allow explicit initCause
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 17 May 2011 01:15:12 +0200
parents 41a778e3fd31
children e39cf474ef94
files src/org/tmatesoft/hg/core/HgCallbackTargetException.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgCallbackTargetException.java	Tue May 17 00:56:54 2011 +0200
+++ b/src/org/tmatesoft/hg/core/HgCallbackTargetException.java	Tue May 17 01:15:12 2011 +0200
@@ -37,7 +37,7 @@
 	 * @param cause can't be <code>null</code>
 	 */
 	public HgCallbackTargetException(Throwable cause) {
-		super((Throwable) null);
+		super((String) null);
 		if (cause == null) {
 			throw new IllegalArgumentException();
 		}