KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > net > UnknownServiceException


1 /*
2  * @(#)UnknownServiceException.java 1.14 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.net;
9
10 import java.io.IOException JavaDoc;
11
12 /**
13  * Thrown to indicate that an unknown service exception has
14  * occurred. Either the MIME type returned by a URL connection does
15  * not make sense, or the application is attempting to write to a
16  * read-only URL connection.
17  *
18  * @author unascribed
19  * @version 1.14, 12/19/03
20  * @since JDK1.0
21  */

22 public class UnknownServiceException extends IOException JavaDoc {
23     /**
24      * Constructs a new <code>UnknownServiceException</code> with no
25      * detail message.
26      */

27     public UnknownServiceException() {
28     }
29
30     /**
31      * Constructs a new <code>UnknownServiceException</code> with the
32      * specified detail message.
33      *
34      * @param msg the detail message.
35      */

36     public UnknownServiceException(String JavaDoc msg) {
37     super(msg);
38     }
39 }
40
Popular Tags