KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibm > webdav > RedirectionException


1 package com.ibm.webdav;
2
3 /*
4  * (C) Copyright IBM Corp. 2000 All rights reserved.
5  *
6  * The program is provided "AS IS" without any warranty express or
7  * implied, including the warranty of non-infringement and the implied
8  * warranties of merchantibility and fitness for a particular purpose.
9  * IBM will not be liable for any damages suffered by you as a result
10  * of using the Program. In no event will IBM be liable for any
11  * special, indirect or consequential damages or lost profits even if
12  * IBM has been advised of the possibility of their occurrence. IBM
13  * will not be liable for any third party claims against you.
14  */

15
16 /** Represents exceptions that require further action by the user agent
17  * in order to fulfill the request.
18  * <p>
19  * Status codes:
20  * <ul>
21  * <li>300 Multiple Choices</li>
22  * <li>301 Moved Permanently</li>
23  * <li>302 Moved Temporarily</li>
24  * <li>303 See Other</li>
25  * <li>304 Not Modified</li>
26  * <li>305 Use Proxy</li>
27  * </ul>
28  * </p>
29  * @author Jim Amsden &lt;jamsden@us.ibm.com&gt;
30  * @see com.ibm.webdav.ServerException
31  * @see com.ibm.webdav.WebDAVException
32  * @see com.ibm.webdav.WebDAVStatus
33  */

34 public class RedirectionException extends WebDAVException {
35 /** Construct a RedirectionException with a status code and simple message.
36  * @param statusCode the WebDAV status code corresponding to the exception
37  * @param statusMessage a message describing the status code in the context of the exception
38  * @see com.ibm.webdav.WebDAVStatus
39  */

40 public RedirectionException(int statusCode, String JavaDoc statusMessage) {
41     super(statusCode, statusMessage);
42 }
43 }
44
Popular Tags