1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package nl.toolforge.karma.core.vc.svnimpl;
20
21 import nl.toolforge.karma.core.ErrorCode;
22 import nl.toolforge.karma.core.vc.VersionControlException;
23
24 /***
25 * Exceptions related to CVS stuff.
26 *
27 * @author D.A. Smedes
28 * @version $Id: SVNException.java,v 1.1 2004/09/27 19:20:56 hippe Exp $
29 */
30 public class SVNException extends VersionControlException {
31
32
33 /***
34 * When no valid <code>CVSROOT</code> could be compiled from <code>CVSRepository</code> instance variables.
35 */
36 public static final ErrorCode INVALID_CVSROOT = new ErrorCode("CVS-00010");
37
38
39 /***
40 * The module already exists in the repository.
41 */
42 public static final ErrorCode MODULE_EXISTS_IN_REPOSITORY = new ErrorCode("CVS-00015");
43
44 public SVNException(ErrorCode errorCode) {
45 super(errorCode);
46 }
47
48 public SVNException(Throwable t, ErrorCode errorCode) {
49 super(t, errorCode);
50 }
51
52 public SVNException(ErrorCode errorCode, Object[] messageArguments) {
53 super(errorCode, messageArguments);
54 }
55
56 public SVNException(Throwable t, ErrorCode errorCode, Object[] messageArguments) {
57 super(t, errorCode, messageArguments);
58 }
59 }