01: /*
02: * ====================================================================
03: * Copyright (c) 2004-2008 TMate Software Ltd. All rights reserved.
04: *
05: * This software is licensed as described in the file COPYING, which
06: * you should have received as part of this distribution. The terms
07: * are also available at http://svnkit.com/license.html
08: * If newer versions of this license are posted there, you may use a
09: * newer version instead, at your option.
10: * ====================================================================
11: */
12:
13: package org.tmatesoft.svn.core;
14:
15: /**
16: * The <b>SVNCancelException</b> is used to signal about an operation
17: * cancel event.
18: *
19: * @version 1.1.1
20: * @author TMate Software Ltd.
21: * @see SVNException
22: *
23: */
24: public class SVNCancelException extends SVNException {
25: /**
26: * Creates a cancel exception.
27: *
28: */
29: public SVNCancelException() {
30: super (SVNErrorMessage.create(SVNErrorCode.CANCELLED,
31: "Operation cancelled"));
32: }
33:
34: /**
35: * Constructs an <b>SVNCancelException</b> given the
36: * error message.
37: *
38: * @param errorMessage an error message describing why the operation
39: * was cancelled
40: */
41: public SVNCancelException(SVNErrorMessage errorMessage) {
42: super(errorMessage);
43: }
44: }
|