Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1863081244c74d296e14f144e49ff4df361acdcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.eclipse.team.internal.ccvs.core.connection;

/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
 
import org.eclipse.core.runtime.IPath;
import org.eclipse.team.internal.ccvs.core.CVSException;
import org.eclipse.team.internal.ccvs.core.Policy;

// NIK: this class is nerver used (once in a catch statment)

public class CVSFileException extends CVSException {

	/**
	 * Creates a new <code>CVSFileException</code>.
	 *
	 * @param message a message describing the exception in detail.
	 * @param path    the file's path that has caused the exception.
	 */
	public CVSFileException(String message, IPath path) {
		super(message, path, null);
	}
	/**
	 * Creates a new <code>CVSFileException</code>.
	 *
	 * @param path      the file's path that has caused the exception.
	 * @param throwable the caught exception that has caused the communication
	 *  exception.
	 */
	public CVSFileException(IPath path, Throwable throwable) {
		super(Policy.bind("CVSFileException.io"), path, throwable);//$NON-NLS-1$ 
	}
}

Back to the top