1#
2# Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
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.  Oracle designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22# or visit www.oracle.com if you need additional information or have any
23# questions.
24#
25
26# Generated exception classes for java.nio.channels
27
28SINCE=1.4
29PACKAGE=java.nio.channels
30# This year should only change if the generated source is modified.
31COPYRIGHT_YEARS="2000, 2007,"
32
33
34SUPER=java.io.IOException
35
36gen 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
44gen 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
51SUPER=ClosedChannelException
52
53gen 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
60SUPER=AsynchronousCloseException
61
62gen 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
70SUPER=IllegalArgumentException
71
72gen 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
78gen UnresolvedAddressException "
79 * Unchecked exception thrown when an attempt is made to invoke a network
80 * operation upon an unresolved socket address." \
81 6136959093620794148L
82
83gen 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
89SUPER=IllegalStateException
90
91gen AlreadyConnectedException "
92 * Unchecked exception thrown when an attempt is made to connect a {@link
93 * SocketChannel} that is already connected." \
94 -7331895245053773357L
95
96gen 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
102gen ClosedSelectorException "
103 * Unchecked exception thrown when an attempt is made to invoke an I/O
104 * operation upon a closed selector." \
105 6466297122317847835L
106
107gen CancelledKeyException "
108 * Unchecked exception thrown when an attempt is made to use
109 * a selection key that is no longer valid." \
110 -8438032138028814268L
111
112gen 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
117gen 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
123gen 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
128gen 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
133gen 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
138gen 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
143gen 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
149
150
151SINCE=1.7
152
153SUPER=java.io.IOException
154
155gen InterruptedByTimeoutException "
156 * Checked exception received by a thread when a timeout elapses before an
157 * asynchronous operation completes." \
158 -4268008601014042947L
159
160SUPER=IllegalArgumentException
161
162gen IllegalChannelGroupException "
163 * Unchecked exception thrown when an attempt is made to open a channel
164 * in a group that was not created by the same provider. " \
165 -2495041211157744253L
166
167
168SUPER=IllegalStateException
169
170gen AlreadyBoundException "
171 * Unchecked exception thrown when an attempt is made to bind the socket a
172 * network oriented channel that is already bound." \
173 6796072983322737592L
174
175gen AcceptPendingException "
176 * Unchecked exception thrown when an attempt is made to initiate an accept
177 * operation on a channel and a previous accept operation has not completed." \
178 2721339977965416421L
179
180gen ReadPendingException "
181 * Unchecked exception thrown when an attempt is made to read from an
182 * asynchronous socket channel and a previous read has not completed." \
183 1986315242191227217L
184
185gen WritePendingException "
186 * Unchecked exception thrown when an attempt is made to write to an
187 * asynchronous socket channel and a previous write has not completed." \
188 7031871839266032276L
189
190gen ShutdownChannelGroupException "
191 * Unchecked exception thrown when an attempt is made to construct a channel in 
192 * a group that is shutdown or the completion handler for an I/O operation 
193 * cannot be invoked because the channel group has terminated." \
194 -3903801676350154157L
195