author | alanb |
Sun, 15 Feb 2009 12:25:54 +0000 | |
changeset 2057 | 3acf8e5e2ca0 |
parent 1247 | b4c26443dee5 |
child 3632 | 399359a027de |
permissions | -rw-r--r-- |
2 | 1 |
# |
2057
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
2 |
# Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved. |
2 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Sun designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Sun in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
# have any questions. |
|
24 |
# |
|
25 |
||
26 |
# Generated exception classes for java.nio.channels |
|
27 |
||
28 |
SINCE=1.4 |
|
29 |
PACKAGE=java.nio.channels |
|
30 |
# This year should only change if the generated source is modified. |
|
31 |
COPYRIGHT_YEARS=2000-2007 |
|
32 |
||
33 |
||
34 |
SUPER=java.io.IOException |
|
35 |
||
36 |
gen ClosedChannelException " |
|
37 |
* Checked exception thrown when an attempt is made to invoke or complete an |
|
38 |
* I/O operation upon channel that is closed, or at least closed to that |
|
39 |
* operation. That this exception is thrown does not necessarily imply that |
|
40 |
* the channel is completely closed. A socket channel whose write half has |
|
41 |
* been shut down, for example, may still be open for reading." \ |
|
42 |
882777185433553857L |
|
43 |
||
44 |
gen FileLockInterruptionException " |
|
45 |
* Checked exception received by a thread when another thread interrupts it |
|
46 |
* while it is waiting to acquire a file lock. Before this exception is thrown |
|
47 |
* the interrupt status of the previously-blocked thread will have been set." \ |
|
48 |
7104080643653532383L |
|
49 |
||
50 |
||
51 |
SUPER=ClosedChannelException |
|
52 |
||
53 |
gen AsynchronousCloseException " |
|
54 |
* Checked exception received by a thread when another thread closes the |
|
55 |
* channel or the part of the channel upon which it is blocked in an I/O |
|
56 |
* operation." \ |
|
57 |
6891178312432313966L |
|
58 |
||
59 |
||
60 |
SUPER=AsynchronousCloseException |
|
61 |
||
62 |
gen ClosedByInterruptException " |
|
63 |
* Checked exception received by a thread when another thread interrupts it |
|
64 |
* while it is blocked in an I/O operation upon a channel. Before this |
|
65 |
* exception is thrown the channel will have been closed and the interrupt |
|
66 |
* status of the previously-blocked thread will have been set." \ |
|
67 |
-4488191543534286750L |
|
68 |
||
69 |
||
70 |
SUPER=IllegalArgumentException |
|
71 |
||
72 |
gen IllegalSelectorException " |
|
73 |
* Unchecked exception thrown when an attempt is made to register a channel |
|
74 |
* with a selector that was not created by the provider that created the |
|
75 |
* channel." \ |
|
76 |
-8406323347253320987L |
|
77 |
||
78 |
gen UnresolvedAddressException " |
|
79 |
* Unchecked exception thrown when an attempt is made to invoke a network |
|
80 |
* operation upon an unresolved socket address." \ |
|
81 |
6136959093620794148L |
|
82 |
||
83 |
gen UnsupportedAddressTypeException " |
|
84 |
* Unchecked exception thrown when an attempt is made to bind or connect |
|
85 |
* to a socket address of a type that is not supported." \ |
|
86 |
-2964323842829700493L |
|
87 |
||
88 |
||
89 |
SUPER=IllegalStateException |
|
90 |
||
91 |
gen AlreadyConnectedException " |
|
92 |
* Unchecked exception thrown when an attempt is made to connect a {@link |
|
93 |
* SocketChannel} that is already connected." \ |
|
94 |
-7331895245053773357L |
|
95 |
||
96 |
gen ConnectionPendingException " |
|
97 |
* Unchecked exception thrown when an attempt is made to connect a {@link |
|
98 |
* SocketChannel} for which a non-blocking connection operation is already in |
|
99 |
* progress." \ |
|
100 |
2008393366501760879L |
|
101 |
||
102 |
gen ClosedSelectorException " |
|
103 |
* Unchecked exception thrown when an attempt is made to invoke an I/O |
|
104 |
* operation upon a closed selector." \ |
|
105 |
6466297122317847835L |
|
106 |
||
107 |
gen CancelledKeyException " |
|
108 |
* Unchecked exception thrown when an attempt is made to use |
|
109 |
* a selection key that is no longer valid." \ |
|
110 |
-8438032138028814268L |
|
111 |
||
112 |
gen IllegalBlockingModeException " |
|
113 |
* Unchecked exception thrown when a blocking-mode-specific operation |
|
114 |
* is invoked upon a channel in the incorrect blocking mode." \ |
|
115 |
-3335774961855590474L |
|
116 |
||
117 |
gen NoConnectionPendingException " |
|
118 |
* Unchecked exception thrown when the {@link SocketChannel#finishConnect |
|
119 |
* finishConnect} method of a {@link SocketChannel} is invoked without first |
|
120 |
* successfully invoking its {@link SocketChannel#connect connect} method." \ |
|
121 |
-8296561183633134743L |
|
122 |
||
123 |
gen NonReadableChannelException " |
|
124 |
* Unchecked exception thrown when an attempt is made to read |
|
125 |
* from a channel that was not originally opened for reading." \ |
|
126 |
-3200915679294993514L |
|
127 |
||
128 |
gen NonWritableChannelException " |
|
129 |
* Unchecked exception thrown when an attempt is made to write |
|
130 |
* to a channel that was not originally opened for writing." \ |
|
131 |
-7071230488279011621L |
|
132 |
||
133 |
gen NotYetBoundException " |
|
134 |
* Unchecked exception thrown when an attempt is made to invoke an I/O |
|
135 |
* operation upon a server socket channel that is not yet bound." \ |
|
136 |
4640999303950202242L |
|
137 |
||
138 |
gen NotYetConnectedException " |
|
139 |
* Unchecked exception thrown when an attempt is made to invoke an I/O |
|
140 |
* operation upon a socket channel that is not yet connected." \ |
|
141 |
4697316551909513464L |
|
142 |
||
143 |
gen OverlappingFileLockException " |
|
144 |
* Unchecked exception thrown when an attempt is made to acquire a lock on a |
|
145 |
* region of a file that overlaps a region already locked by the same Java |
|
146 |
* virtual machine, or when another thread is already waiting to lock an |
|
147 |
* overlapping region of the same file." \ |
|
148 |
2047812138163068433L |
|
1152
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
149 |
|
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
150 |
|
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
151 |
SINCE=1.7 |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
152 |
|
2057
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
153 |
SUPER=java.io.IOException |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
154 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
155 |
gen InterruptedByTimeoutException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
156 |
* Checked exception received by a thread when a timeout elapses before an |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
157 |
* asynchronous operation completes." \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
158 |
-4268008601014042947L |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
159 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
160 |
SUPER=IllegalArgumentException |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
161 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
162 |
gen IllegalChannelGroupException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
163 |
* Unchecked exception thrown when an attempt is made to open a channel |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
164 |
* in a group that was not created by the same provider. " \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
165 |
-2495041211157744253L |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
166 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
167 |
|
1152
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
168 |
SUPER=IllegalStateException |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
169 |
|
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
170 |
gen AlreadyBoundException " |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
171 |
* Unchecked exception thrown when an attempt is made to bind the socket a |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
172 |
* network oriented channel that is already bound." \ |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
173 |
6796072983322737592L |
29d6145d1097
4640544: New I/O: Complete socket-channel functionality
alanb
parents:
2
diff
changeset
|
174 |
|
2057
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
175 |
gen AcceptPendingException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
176 |
* Unchecked exception thrown when an attempt is made to initiate an accept |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
177 |
* operation on a channel and a previous accept operation has not completed." \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
178 |
2721339977965416421L |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
179 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
180 |
gen ReadPendingException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
181 |
* Unchecked exception thrown when an attempt is made to read from an |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
182 |
* asynchronous socket channel and a previous read has not completed." \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
183 |
1986315242191227217L |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
184 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
185 |
gen WritePendingException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
186 |
* Unchecked exception thrown when an attempt is made to write to an |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
187 |
* asynchronous socket channel and a previous write has not completed." \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
188 |
7031871839266032276L |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
189 |
|
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
190 |
gen ShutdownChannelGroupException " |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
191 |
* Unchecked exception thrown when an attempt is made to construct a channel in |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
192 |
* a group that is shutdown or the completion handler for an I/O operation |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
193 |
* cannot be invoked because the channel group is shutdown." \ |
3acf8e5e2ca0
6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
alanb
parents:
1247
diff
changeset
|
194 |
-3903801676350154157L |