From 6315b6cbff7ca22e8d8d6f69b4fa0c87d41c2330 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Thu, 21 Nov 2002 10:45:14 +0000 Subject: [PATCH] AsynchronousCloseException.java, [...]: New files. 2002-11-21 Michael Koch * java/nio/channels/AsynchronousCloseException.java, java/nio/channels/CancelledKeyException.java, java/nio/channels/ClosedByInterruptException.java, java/nio/channels/ConnectionPendingException.java, java/nio/channels/FileLockInterruptionException.java, java/nio/channels/IllegalSelectorException.java, java/nio/channels/NoConnectionPendingException.java, java/nio/channels/NonReadableChannelException.java, java/nio/channels/NonWritableChannelException.java, java/nio/channels/NotYetBoundException.java, java/nio/channels/NotYetConnectedException.java, java/nio/channels/OverlappingFileLockException.java, java/nio/channels/UnresolvedAddressException.java, java/nio/channels/UnsupportedAddressTypeException.java: New files. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r59341 --- libjava/ChangeLog | 20 +++++++ libjava/Makefile.am | 14 +++++ libjava/Makefile.in | 31 ++++++++++- .../channels/AsynchronousCloseException.java | 52 ++++++++++++++++++ .../nio/channels/CancelledKeyException.java | 52 ++++++++++++++++++ .../channels/ClosedByInterruptException.java | 52 ++++++++++++++++++ .../channels/ConnectionPendingException.java | 52 ++++++++++++++++++ .../FileLockInterruptionException.java | 54 +++++++++++++++++++ .../channels/IllegalSelectorException.java | 52 ++++++++++++++++++ .../NoConnectionPendingException.java | 52 ++++++++++++++++++ .../channels/NonReadableChannelException.java | 52 ++++++++++++++++++ .../channels/NonWritableChannelException.java | 52 ++++++++++++++++++ .../nio/channels/NotYetBoundException.java | 52 ++++++++++++++++++ .../channels/NotYetConnectedException.java | 52 ++++++++++++++++++ .../OverlappingFileLockException.java | 52 ++++++++++++++++++ .../channels/UnresolvedAddressException.java | 52 ++++++++++++++++++ .../UnsupportedAddressTypeException.java | 52 ++++++++++++++++++ 17 files changed, 794 insertions(+), 1 deletion(-) create mode 100644 libjava/java/nio/channels/AsynchronousCloseException.java create mode 100644 libjava/java/nio/channels/CancelledKeyException.java create mode 100644 libjava/java/nio/channels/ClosedByInterruptException.java create mode 100644 libjava/java/nio/channels/ConnectionPendingException.java create mode 100644 libjava/java/nio/channels/FileLockInterruptionException.java create mode 100644 libjava/java/nio/channels/IllegalSelectorException.java create mode 100644 libjava/java/nio/channels/NoConnectionPendingException.java create mode 100644 libjava/java/nio/channels/NonReadableChannelException.java create mode 100644 libjava/java/nio/channels/NonWritableChannelException.java create mode 100644 libjava/java/nio/channels/NotYetBoundException.java create mode 100644 libjava/java/nio/channels/NotYetConnectedException.java create mode 100644 libjava/java/nio/channels/OverlappingFileLockException.java create mode 100644 libjava/java/nio/channels/UnresolvedAddressException.java create mode 100644 libjava/java/nio/channels/UnsupportedAddressTypeException.java diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 4fcd4d0ed19..5a6950725ee 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,23 @@ +2002-11-21 Michael Koch + + * java/nio/channels/AsynchronousCloseException.java, + java/nio/channels/CancelledKeyException.java, + java/nio/channels/ClosedByInterruptException.java, + java/nio/channels/ConnectionPendingException.java, + java/nio/channels/FileLockInterruptionException.java, + java/nio/channels/IllegalSelectorException.java, + java/nio/channels/NoConnectionPendingException.java, + java/nio/channels/NonReadableChannelException.java, + java/nio/channels/NonWritableChannelException.java, + java/nio/channels/NotYetBoundException.java, + java/nio/channels/NotYetConnectedException.java, + java/nio/channels/OverlappingFileLockException.java, + java/nio/channels/UnresolvedAddressException.java, + java/nio/channels/UnsupportedAddressTypeException.java: + New files. + * Makefile.am (ordinary_java_source_files): Added new files. + * Makefile.in: Regenerated. + 2002-11-21 Michael Koch * include/posix.h diff --git a/libjava/Makefile.am b/libjava/Makefile.am index 38b36cd3318..34135e77e99 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -1977,15 +1977,27 @@ java/nio/InvalidMarkException.java \ java/nio/MappedByteBuffer.java \ java/nio/ReadOnlyBufferException.java \ java/nio/channels/AlreadyConnectedException.java \ +java/nio/channels/AsynchronousCloseException.java \ java/nio/channels/ByteChannel.java \ +java/nio/channels/CancelledKeyException.java \ java/nio/channels/Channel.java \ +java/nio/channels/ClosedByInterruptException.java \ java/nio/channels/ClosedChannelException.java \ java/nio/channels/ClosedSelectorException.java \ +java/nio/channels/ConnectionPendingException.java \ java/nio/channels/DatagramChannel.java \ java/nio/channels/FileChannel.java \ +java/nio/channels/FileLockInterruptionException.java \ java/nio/channels/GatheringByteChannel.java \ java/nio/channels/IllegalBlockingModeException.java \ +java/nio/channels/IllegalSelectorException.java \ java/nio/channels/InterruptibleChannel.java \ +java/nio/channels/NoConnectionPendingException.java \ +java/nio/channels/NonReadableChannelException.java \ +java/nio/channels/NonWritableChannelException.java \ +java/nio/channels/NotYetBoundException.java \ +java/nio/channels/NotYetConnectedException.java \ +java/nio/channels/OverlappingFileLockException.java \ java/nio/channels/Pipe.java \ java/nio/channels/ReadableByteChannel.java \ java/nio/channels/ScatteringByteChannel.java \ @@ -1994,6 +2006,8 @@ java/nio/channels/SelectionKey.java \ java/nio/channels/Selector.java \ java/nio/channels/ServerSocketChannel.java \ java/nio/channels/SocketChannel.java \ +java/nio/channels/UnresolvedAddressException.java \ +java/nio/channels/UnsupportedAddressTypeException.java \ java/nio/channels/WritableByteChannel.java \ java/nio/channels/spi/AbstractSelectableChannel.java \ java/nio/channels/spi/AbstractInterruptibleChannel.java \ diff --git a/libjava/Makefile.in b/libjava/Makefile.in index c98b52b1aa2..239bd09db32 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -1727,15 +1727,27 @@ java/nio/InvalidMarkException.java \ java/nio/MappedByteBuffer.java \ java/nio/ReadOnlyBufferException.java \ java/nio/channels/AlreadyConnectedException.java \ +java/nio/channels/AsynchronousCloseException.java \ java/nio/channels/ByteChannel.java \ +java/nio/channels/CancelledKeyException.java \ java/nio/channels/Channel.java \ +java/nio/channels/ClosedByInterruptException.java \ java/nio/channels/ClosedChannelException.java \ java/nio/channels/ClosedSelectorException.java \ +java/nio/channels/ConnectionPendingException.java \ java/nio/channels/DatagramChannel.java \ java/nio/channels/FileChannel.java \ +java/nio/channels/FileLockInterruptionException.java \ java/nio/channels/GatheringByteChannel.java \ java/nio/channels/IllegalBlockingModeException.java \ +java/nio/channels/IllegalSelectorException.java \ java/nio/channels/InterruptibleChannel.java \ +java/nio/channels/NoConnectionPendingException.java \ +java/nio/channels/NonReadableChannelException.java \ +java/nio/channels/NonWritableChannelException.java \ +java/nio/channels/NotYetBoundException.java \ +java/nio/channels/NotYetConnectedException.java \ +java/nio/channels/OverlappingFileLockException.java \ java/nio/channels/Pipe.java \ java/nio/channels/ReadableByteChannel.java \ java/nio/channels/ScatteringByteChannel.java \ @@ -1744,6 +1756,8 @@ java/nio/channels/SelectionKey.java \ java/nio/channels/Selector.java \ java/nio/channels/ServerSocketChannel.java \ java/nio/channels/SocketChannel.java \ +java/nio/channels/UnresolvedAddressException.java \ +java/nio/channels/UnsupportedAddressTypeException.java \ java/nio/channels/WritableByteChannel.java \ java/nio/channels/spi/AbstractSelectableChannel.java \ java/nio/channels/spi/AbstractInterruptibleChannel.java \ @@ -3009,14 +3023,27 @@ DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \ .deps/java/nio/InvalidMarkException.P .deps/java/nio/MappedByteBuffer.P \ .deps/java/nio/ReadOnlyBufferException.P \ .deps/java/nio/channels/AlreadyConnectedException.P \ -.deps/java/nio/channels/ByteChannel.P .deps/java/nio/channels/Channel.P \ +.deps/java/nio/channels/AsynchronousCloseException.P \ +.deps/java/nio/channels/ByteChannel.P \ +.deps/java/nio/channels/CancelledKeyException.P \ +.deps/java/nio/channels/Channel.P \ +.deps/java/nio/channels/ClosedByInterruptException.P \ .deps/java/nio/channels/ClosedChannelException.P \ .deps/java/nio/channels/ClosedSelectorException.P \ +.deps/java/nio/channels/ConnectionPendingException.P \ .deps/java/nio/channels/DatagramChannel.P \ .deps/java/nio/channels/FileChannel.P \ +.deps/java/nio/channels/FileLockInterruptionException.P \ .deps/java/nio/channels/GatheringByteChannel.P \ .deps/java/nio/channels/IllegalBlockingModeException.P \ +.deps/java/nio/channels/IllegalSelectorException.P \ .deps/java/nio/channels/InterruptibleChannel.P \ +.deps/java/nio/channels/NoConnectionPendingException.P \ +.deps/java/nio/channels/NonReadableChannelException.P \ +.deps/java/nio/channels/NonWritableChannelException.P \ +.deps/java/nio/channels/NotYetBoundException.P \ +.deps/java/nio/channels/NotYetConnectedException.P \ +.deps/java/nio/channels/OverlappingFileLockException.P \ .deps/java/nio/channels/Pipe.P \ .deps/java/nio/channels/ReadableByteChannel.P \ .deps/java/nio/channels/ScatteringByteChannel.P \ @@ -3025,6 +3052,8 @@ DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \ .deps/java/nio/channels/Selector.P \ .deps/java/nio/channels/ServerSocketChannel.P \ .deps/java/nio/channels/SocketChannel.P \ +.deps/java/nio/channels/UnresolvedAddressException.P \ +.deps/java/nio/channels/UnsupportedAddressTypeException.P \ .deps/java/nio/channels/WritableByteChannel.P \ .deps/java/nio/channels/spi/AbstractInterruptibleChannel.P \ .deps/java/nio/channels/spi/AbstractSelectableChannel.P \ diff --git a/libjava/java/nio/channels/AsynchronousCloseException.java b/libjava/java/nio/channels/AsynchronousCloseException.java new file mode 100644 index 00000000000..ec4bbc7fd47 --- /dev/null +++ b/libjava/java/nio/channels/AsynchronousCloseException.java @@ -0,0 +1,52 @@ +/* AsynchronousCloseException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class AsynchronousCloseException extends ClosedChannelException +{ + /** + * Creates the exception + */ + public AsynchronousCloseException() + { + } +} diff --git a/libjava/java/nio/channels/CancelledKeyException.java b/libjava/java/nio/channels/CancelledKeyException.java new file mode 100644 index 00000000000..cf3c5cc352c --- /dev/null +++ b/libjava/java/nio/channels/CancelledKeyException.java @@ -0,0 +1,52 @@ +/* CancelledKeyException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class CancelledKeyException extends IllegalStateException +{ + /** + * Creates the exception + */ + public CancelledKeyException() + { + } +} diff --git a/libjava/java/nio/channels/ClosedByInterruptException.java b/libjava/java/nio/channels/ClosedByInterruptException.java new file mode 100644 index 00000000000..b99e016f17d --- /dev/null +++ b/libjava/java/nio/channels/ClosedByInterruptException.java @@ -0,0 +1,52 @@ +/* ClosedByInterruptException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class ClosedByInterruptException extends AsynchronousCloseException +{ + /** + * Creates the exception + */ + public ClosedByInterruptException() + { + } +} diff --git a/libjava/java/nio/channels/ConnectionPendingException.java b/libjava/java/nio/channels/ConnectionPendingException.java new file mode 100644 index 00000000000..876179c01b4 --- /dev/null +++ b/libjava/java/nio/channels/ConnectionPendingException.java @@ -0,0 +1,52 @@ +/* ConnectionPendingException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class ConnectionPendingException extends IllegalStateException +{ + /** + * Creates the exception + */ + public ConnectionPendingException() + { + } +} diff --git a/libjava/java/nio/channels/FileLockInterruptionException.java b/libjava/java/nio/channels/FileLockInterruptionException.java new file mode 100644 index 00000000000..563b0a08fe7 --- /dev/null +++ b/libjava/java/nio/channels/FileLockInterruptionException.java @@ -0,0 +1,54 @@ +/* FileLockInterruptionException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +import java.io.IOException; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class FileLockInterruptionException extends IOException +{ + /** + * Creates the exception + */ + public FileLockInterruptionException() + { + } +} diff --git a/libjava/java/nio/channels/IllegalSelectorException.java b/libjava/java/nio/channels/IllegalSelectorException.java new file mode 100644 index 00000000000..20465e56b1d --- /dev/null +++ b/libjava/java/nio/channels/IllegalSelectorException.java @@ -0,0 +1,52 @@ +/* IllegalSelectorException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class IllegalSelectorException extends IllegalArgumentException +{ + /** + * Creates the exception + */ + public IllegalSelectorException() + { + } +} diff --git a/libjava/java/nio/channels/NoConnectionPendingException.java b/libjava/java/nio/channels/NoConnectionPendingException.java new file mode 100644 index 00000000000..f859cf6f651 --- /dev/null +++ b/libjava/java/nio/channels/NoConnectionPendingException.java @@ -0,0 +1,52 @@ +/* NoConnectionPendingException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class NoConnectionPendingException extends IllegalStateException +{ + /** + * Creates the exception + */ + public NoConnectionPendingException() + { + } +} diff --git a/libjava/java/nio/channels/NonReadableChannelException.java b/libjava/java/nio/channels/NonReadableChannelException.java new file mode 100644 index 00000000000..cb146bb5133 --- /dev/null +++ b/libjava/java/nio/channels/NonReadableChannelException.java @@ -0,0 +1,52 @@ +/* NonReadableChannelException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class NonReadableChannelException extends IllegalStateException +{ + /** + * Creates the exception + */ + public NonReadableChannelException() + { + } +} diff --git a/libjava/java/nio/channels/NonWritableChannelException.java b/libjava/java/nio/channels/NonWritableChannelException.java new file mode 100644 index 00000000000..a26af3537c2 --- /dev/null +++ b/libjava/java/nio/channels/NonWritableChannelException.java @@ -0,0 +1,52 @@ +/* NonWritableChannelException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class NonWritableChannelException extends IllegalStateException +{ + /** + * Creates the exception + */ + public NonWritableChannelException() + { + } +} diff --git a/libjava/java/nio/channels/NotYetBoundException.java b/libjava/java/nio/channels/NotYetBoundException.java new file mode 100644 index 00000000000..0367b35e90d --- /dev/null +++ b/libjava/java/nio/channels/NotYetBoundException.java @@ -0,0 +1,52 @@ +/* NotYetBoundException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class NotYetBoundException extends IllegalStateException +{ + /** + * Creates the exception + */ + public NotYetBoundException() + { + } +} diff --git a/libjava/java/nio/channels/NotYetConnectedException.java b/libjava/java/nio/channels/NotYetConnectedException.java new file mode 100644 index 00000000000..3c15369611b --- /dev/null +++ b/libjava/java/nio/channels/NotYetConnectedException.java @@ -0,0 +1,52 @@ +/* NotYetConnectedException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class NotYetConnectedException extends IllegalStateException +{ + /** + * Creates the exception + */ + public NotYetConnectedException() + { + } +} diff --git a/libjava/java/nio/channels/OverlappingFileLockException.java b/libjava/java/nio/channels/OverlappingFileLockException.java new file mode 100644 index 00000000000..2f856d3ea73 --- /dev/null +++ b/libjava/java/nio/channels/OverlappingFileLockException.java @@ -0,0 +1,52 @@ +/* OverlappingFileLockException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class OverlappingFileLockException extends IllegalStateException +{ + /** + * Creates the exception + */ + public OverlappingFileLockException() + { + } +} diff --git a/libjava/java/nio/channels/UnresolvedAddressException.java b/libjava/java/nio/channels/UnresolvedAddressException.java new file mode 100644 index 00000000000..1cfdf970dca --- /dev/null +++ b/libjava/java/nio/channels/UnresolvedAddressException.java @@ -0,0 +1,52 @@ +/* UnresolvedAddressException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class UnresolvedAddressException extends IllegalArgumentException +{ + /** + * Creates the exception + */ + public UnresolvedAddressException() + { + } +} diff --git a/libjava/java/nio/channels/UnsupportedAddressTypeException.java b/libjava/java/nio/channels/UnsupportedAddressTypeException.java new file mode 100644 index 00000000000..824772a235b --- /dev/null +++ b/libjava/java/nio/channels/UnsupportedAddressTypeException.java @@ -0,0 +1,52 @@ +/* UnsupportedAddressTypeException.java -- + Copyright (C) 2002 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package java.nio.channels; + +/** + * @author Michael Koch + * @since 1.4 + */ +public class UnsupportedAddressTypeException extends IllegalArgumentException +{ + /** + * Creates the exception + */ + public UnsupportedAddressTypeException() + { + } +}