-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnknownServiceException.java
More file actions
58 lines (53 loc) · 1.04 KB
/
UnknownServiceException.java
File metadata and controls
58 lines (53 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.net;
import java.io.IOException;
/**
* Thrown to indicate that an unknown service exception has
* occurred. Either the MIME type returned by a URL connection does
* not make sense, or the application is attempting to write to a
* read-only URL connection.
*
* @author unascribed
* @since JDK1.0
*/
public class UnknownServiceException extends IOException {
private static final long serialVersionUID = -4169033248853639508L;
/**
* Constructs a new {@code UnknownServiceException} with no
* detail message.
*/
public UnknownServiceException() {
}
/**
* Constructs a new {@code UnknownServiceException} with the
* specified detail message.
*
* @param msg the detail message.
*/
public UnknownServiceException(String msg) {
super(msg);
}
}