1 /*
2 Karma core - Core of the Karma application
3 Copyright (C) 2004 Toolforge <www.toolforge.nl>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
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); //To change body of overridden methods use File | Settings | File Templates.
46 }
47
48 public SVNException(Throwable t, ErrorCode errorCode) {
49 super(t, errorCode); //To change body of overridden methods use File | Settings | File Templates.
50 }
51
52 public SVNException(ErrorCode errorCode, Object[] messageArguments) {
53 super(errorCode, messageArguments); //To change body of overridden methods use File | Settings | File Templates.
54 }
55
56 public SVNException(Throwable t, ErrorCode errorCode, Object[] messageArguments) {
57 super(t, errorCode, messageArguments); //To change body of overridden methods use File | Settings | File Templates.
58 }
59 }