KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > webdav > ant > ScanException


1 /*
2  * $Header: /home/cvs/jakarta-slide/webdavclient/ant/src/java/org/apache/webdav/ant/ScanException.java,v 1.3 2004/07/28 09:31:49 ib Exp $
3  * $Revision: 1.3 $
4  * $Date: 2004/07/28 09:31:49 $
5  * ========================================================================
6  * Copyright 2004 The Apache Software Foundation
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ========================================================================
20  */

21 package org.apache.webdav.ant;
22
23 import org.apache.tools.ant.BuildException;
24
25 /**
26  * Signals an error condition during the scan of a directory or web
27  * collection.
28  *
29  */

30
31 public class ScanException extends BuildException {
32
33     public ScanException() {
34     super();
35     }
36
37     /**
38      * Constructs an exception with the given descriptive message.
39      * @param msg Description of or information about the exception.
40      */

41
42     public ScanException(String JavaDoc msg) {
43     super(msg);
44     }
45
46     /**
47      * Constructs an exception with the given message and exception as
48      * a root cause.
49      * @param msg Description of or information about the exception.
50      * @param cause Throwable that might have cause this one.
51      */

52
53     public ScanException(String JavaDoc msg, Throwable JavaDoc cause) {
54     super(msg, cause);
55     }
56 }
57
Popular Tags