KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > webdav > lib > WebdavException


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

23
24 package org.apache.webdav.lib;
25
26 /**
27  * Wraps other Exceptions into RuntimeException. It indicates
28  * some server access problems or implementation shortcomings
29  *
30  */

31 public class WebdavException extends RuntimeException JavaDoc {
32
33   /** Method not implemented for Webdav */
34   public static final String JavaDoc NOT_IMPLEMENTED = "this method is not implemented";
35
36   /** Method not implemented for Webdav */
37   public static final String JavaDoc RELATIVE_FILE = "this method is not supported with relative paths";
38
39   public WebdavException(Exception JavaDoc e) {
40     super(e.getMessage());
41   }
42
43   public WebdavException(String JavaDoc msg) {
44     super(msg);
45   }
46 }
47
Popular Tags