aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/natVMNetworkInterfaceNoNet.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/net/natVMNetworkInterfaceNoNet.cc')
-rw-r--r--libjava/java/net/natVMNetworkInterfaceNoNet.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/libjava/java/net/natVMNetworkInterfaceNoNet.cc b/libjava/java/net/natVMNetworkInterfaceNoNet.cc
new file mode 100644
index 00000000000..eda7f99f0f4
--- /dev/null
+++ b/libjava/java/net/natVMNetworkInterfaceNoNet.cc
@@ -0,0 +1,21 @@
+/* Copyright (C) 2003, 2005 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#include <config.h>
+#include <platform.h>
+
+#include <java/net/SocketException.h>
+#include <java/net/VMNetworkInterface.h>
+#include <java/util/Vector.h>
+
+::java::util::Vector*
+java::net::VMNetworkInterface::getInterfaces ()
+{
+ throw new SocketException (
+ JvNewStringLatin1 ("VMNetworkInterface.getInterfaces: unimplemented"));
+}