blob: ae4d4c0d9603a055c0f544848dc4886db30f0fa4 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2# Copyright 2000-2007 Sun Microsystems, Inc. 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. 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
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