aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-11-27 05:57:58 +0000
committerAnthony Green <green@redhat.com>2000-11-27 05:57:58 +0000
commit15b7805dd83577bd076b637dcfc38867cd6a004e (patch)
tree435566d5a2d48169c3e7d6187552ab6e87a17e8c /libjava/javax
parent2634958524b046a95b9bbd5f759c9f4a5ebd2f28 (diff)
More JNDI changes.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@37779 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/naming/AuthenticationException.java24
-rw-r--r--libjava/javax/naming/AuthenticationNotSupportedException.java25
-rw-r--r--libjava/javax/naming/CannotProceedException.java24
-rw-r--r--libjava/javax/naming/CommunicationException.java24
-rw-r--r--libjava/javax/naming/ConfigurationException.java24
-rw-r--r--libjava/javax/naming/Context.java45
-rw-r--r--libjava/javax/naming/ContextNotEmptyException.java24
-rw-r--r--libjava/javax/naming/InitialContext.java138
-rw-r--r--libjava/javax/naming/InsufficientResourcesException.java24
-rw-r--r--libjava/javax/naming/InterruptedNamingException.java24
-rw-r--r--libjava/javax/naming/InvalidNameException.java24
-rw-r--r--libjava/javax/naming/LimitExceededException.java24
-rw-r--r--libjava/javax/naming/LinkException.java24
-rw-r--r--libjava/javax/naming/LinkLoopException.java24
-rw-r--r--libjava/javax/naming/MalformedLinkException.java24
-rw-r--r--libjava/javax/naming/Name.java17
-rw-r--r--libjava/javax/naming/NameAlreadyBoundException.java24
-rw-r--r--libjava/javax/naming/NameNotFoundException.java24
-rw-r--r--libjava/javax/naming/NamingSecurityException.java24
-rw-r--r--libjava/javax/naming/NoPermissionException.java24
-rw-r--r--libjava/javax/naming/NotContextException.java24
-rw-r--r--libjava/javax/naming/OperationNotSupportedException.java24
-rw-r--r--libjava/javax/naming/PartialResultException.java24
-rw-r--r--libjava/javax/naming/ReferralException.java24
-rw-r--r--libjava/javax/naming/ServiceUnavailableException.java24
-rw-r--r--libjava/javax/naming/SizeLimitExceededException.java24
-rw-r--r--libjava/javax/naming/TimeLimitExceededException.java24
27 files changed, 774 insertions, 3 deletions
diff --git a/libjava/javax/naming/AuthenticationException.java b/libjava/javax/naming/AuthenticationException.java
new file mode 100644
index 00000000000..105b7f3e59b
--- /dev/null
+++ b/libjava/javax/naming/AuthenticationException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class AuthenticationException extends NamingSecurityException
+{
+ public AuthenticationException ()
+ {
+ super ();
+ }
+
+ public AuthenticationException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/AuthenticationNotSupportedException.java b/libjava/javax/naming/AuthenticationNotSupportedException.java
new file mode 100644
index 00000000000..2078285bf86
--- /dev/null
+++ b/libjava/javax/naming/AuthenticationNotSupportedException.java
@@ -0,0 +1,25 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class AuthenticationNotSupportedException
+ extends NamingSecurityException
+{
+ public AuthenticationNotSupportedException ()
+ {
+ super ();
+ }
+
+ public AuthenticationNotSupportedException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/CannotProceedException.java b/libjava/javax/naming/CannotProceedException.java
new file mode 100644
index 00000000000..4b0ea2a601b
--- /dev/null
+++ b/libjava/javax/naming/CannotProceedException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class CannotProceedException extends NamingException
+{
+ public CannotProceedException ()
+ {
+ super ();
+ }
+
+ public CannotProceedException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/CommunicationException.java b/libjava/javax/naming/CommunicationException.java
new file mode 100644
index 00000000000..f5e67efe3ef
--- /dev/null
+++ b/libjava/javax/naming/CommunicationException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class CommunicationException extends NamingException
+{
+ public CommunicationException ()
+ {
+ super ();
+ }
+
+ public CommunicationException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/ConfigurationException.java b/libjava/javax/naming/ConfigurationException.java
new file mode 100644
index 00000000000..9f8013b8813
--- /dev/null
+++ b/libjava/javax/naming/ConfigurationException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class ConfigurationException extends NamingException
+{
+ public ConfigurationException ()
+ {
+ super ();
+ }
+
+ public ConfigurationException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/Context.java b/libjava/javax/naming/Context.java
index d9f520477c3..8d3b9f60813 100644
--- a/libjava/javax/naming/Context.java
+++ b/libjava/javax/naming/Context.java
@@ -79,5 +79,50 @@ public interface Context
public void bind (Name name, Object obj) throws NamingException;
public void bind (String name, Object obj) throws NamingException;
+
+ public Object lookup (Name name) throws NamingException;
+ public Object lookup (String name) throws NamingException;
+
+ public void rebind (Name name, Object obj) throws NamingException;
+ public void rebind (String name, Object obj) throws NamingException;
+
+ public void unbind (Name name) throws NamingException;
+ public void unbind (String name) throws NamingException;
+
+ public void rename (Name oldName, Name newName) throws NamingException;
+ public void rename (String oldName, String newName) throws NamingException;
+
+ public NamingEnumeration list (Name name) throws NamingException;
+ public NamingEnumeration list (String name) throws NamingException;
+
+ public NamingEnumeration listBindings (Name name) throws NamingException;
+ public NamingEnumeration listBindings (String name) throws NamingException;
+
+ public void destroySubcontext (Name name) throws NamingException;
+ public void destroySubcontext (String name) throws NamingException;
+
+ public Context createSubcontext (Name name) throws NamingException;
+ public Context createSubcontext (String name) throws NamingException;
+
+ public Object lookupLink (Name name) throws NamingException;
+ public Object lookupLink (String name) throws NamingException;
+
+ public NameParser getNameParser (Name name) throws NamingException;
+ public NameParser getNameParser (String name) throws NamingException;
+
+ public Name composeName (Name name, Name prefix) throws NamingException;
+ public String composeName (String name,
+ String prefix) throws NamingException;
+
+ public Object addToEnvironment (String propName,
+ Object propVal) throws NamingException;
+
+ public Object removeFromEnvironment (String propName) throws NamingException;
+
+ public Hashtable getEnvironment () throws NamingException;
+
+ public void close () throws NamingException;
+
+ public String getNameInNamespace () throws NamingException;
}
diff --git a/libjava/javax/naming/ContextNotEmptyException.java b/libjava/javax/naming/ContextNotEmptyException.java
new file mode 100644
index 00000000000..24cb5b64e12
--- /dev/null
+++ b/libjava/javax/naming/ContextNotEmptyException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class ContextNotEmptyException extends NamingException
+{
+ public ContextNotEmptyException ()
+ {
+ super ();
+ }
+
+ public ContextNotEmptyException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/InitialContext.java b/libjava/javax/naming/InitialContext.java
index 66454a53b6f..550d2b6cf80 100644
--- a/libjava/javax/naming/InitialContext.java
+++ b/libjava/javax/naming/InitialContext.java
@@ -20,7 +20,6 @@ import java.applet.Applet;
import java.util.Hashtable;
import javax.naming.spi.NamingManager;
-
public class InitialContext implements Context
{
protected Context defaultInitCtx;
@@ -194,4 +193,141 @@ public class InitialContext implements Context
{
getURLOrDefaultInitCtx (name).bind (name, obj);
}
+
+ public Object lookup (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookup (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rebind (Name name, Object obj) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rebind (String name, Object obj) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void unbind (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void unbind (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rename (Name oldName, Name newName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void rename (String oldName, String newName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration list (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration list (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration listBindings (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NamingEnumeration listBindings (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void destroySubcontext (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void destroySubcontext (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Context createSubcontext (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Context createSubcontext (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookupLink (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object lookupLink (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NameParser getNameParser (Name name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public NameParser getNameParser (String name) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Name composeName (Name name, Name prefix) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public String composeName (String name,
+ String prefix) throws NamingException;
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object addToEnvironment (String propName,
+ Object propVal) throws NamingException;
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Object removeFromEnvironment (String propName) throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public Hashtable getEnvironment () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public void close () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
+
+ public String getNameInNamespace () throws NamingException
+ {
+ throw new OperationNotSupportedException ();
+ }
}
diff --git a/libjava/javax/naming/InsufficientResourcesException.java b/libjava/javax/naming/InsufficientResourcesException.java
new file mode 100644
index 00000000000..6d3e97635cf
--- /dev/null
+++ b/libjava/javax/naming/InsufficientResourcesException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class InsufficientResourcesException extends NamingException
+{
+ public InsufficientResourcesException ()
+ {
+ super ();
+ }
+
+ public InsufficientResourcesException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/InterruptedNamingException.java b/libjava/javax/naming/InterruptedNamingException.java
new file mode 100644
index 00000000000..f9897ec7de3
--- /dev/null
+++ b/libjava/javax/naming/InterruptedNamingException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class InterruptedNamingException extends NamingException
+{
+ public InterruptedNamingException ()
+ {
+ super ();
+ }
+
+ public InterruptedNamingException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/InvalidNameException.java b/libjava/javax/naming/InvalidNameException.java
new file mode 100644
index 00000000000..c1ccb19aefa
--- /dev/null
+++ b/libjava/javax/naming/InvalidNameException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class InvalidNameException extends NamingException
+{
+ public InvalidNameException ()
+ {
+ super ();
+ }
+
+ public InvalidNameException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/LimitExceededException.java b/libjava/javax/naming/LimitExceededException.java
new file mode 100644
index 00000000000..5490faf9f62
--- /dev/null
+++ b/libjava/javax/naming/LimitExceededException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class LimitExceededException extends NamingException
+{
+ public LimitExceededException ()
+ {
+ super ();
+ }
+
+ public LimitExceededException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/LinkException.java b/libjava/javax/naming/LinkException.java
new file mode 100644
index 00000000000..90798c159aa
--- /dev/null
+++ b/libjava/javax/naming/LinkException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class LinkException extends NamingException
+{
+ public LinkException ()
+ {
+ super ();
+ }
+
+ public LinkException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/LinkLoopException.java b/libjava/javax/naming/LinkLoopException.java
new file mode 100644
index 00000000000..f2f333cf621
--- /dev/null
+++ b/libjava/javax/naming/LinkLoopException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class LinkLoopException extends LinkException
+{
+ public LinkLoopException ()
+ {
+ super ();
+ }
+
+ public LinkLoopException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/MalformedLinkException.java b/libjava/javax/naming/MalformedLinkException.java
new file mode 100644
index 00000000000..5f2f6998881
--- /dev/null
+++ b/libjava/javax/naming/MalformedLinkException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class MalformedLinkException extends LinkException
+{
+ public MalformedLinkException ()
+ {
+ super ();
+ }
+
+ public MalformedLinkException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/Name.java b/libjava/javax/naming/Name.java
index d07995bc86e..b7eb4f14ece 100644
--- a/libjava/javax/naming/Name.java
+++ b/libjava/javax/naming/Name.java
@@ -12,6 +12,19 @@ import java.io.Serializable;
public interface Name extends Cloneable, Serializable
{
- public int size ();
- public String get (int index);
+ public Object clone();
+ public int compareTo(Object obj);
+ public int size();
+ public boolean isEmpty();
+ public Enumeration getAll();
+ public String get(int posn);
+ public Name getPrefix(int posn);
+ public Name getSuffix(int posn);
+ public boolean startsWith(Name n);
+ public boolean endsWith(Name n);
+ public Name addAll(Name suffix) throws InvalidNameException;
+ public Name addAll(int posn, Name n) throws InvalidNameException;
+ public Name add(String comp) throws InvalidNameException;
+ public Name add(int posn, String comp) throws InvalidNameException;
+ public Object remove(int posn) throws InvalidNameException;
}
diff --git a/libjava/javax/naming/NameAlreadyBoundException.java b/libjava/javax/naming/NameAlreadyBoundException.java
new file mode 100644
index 00000000000..da2ddbc52a7
--- /dev/null
+++ b/libjava/javax/naming/NameAlreadyBoundException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class NameAlreadyBoundException extends NamingException
+{
+ public NameAlreadyBoundException ()
+ {
+ super ();
+ }
+
+ public NameAlreadyBoundException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/NameNotFoundException.java b/libjava/javax/naming/NameNotFoundException.java
new file mode 100644
index 00000000000..f69c161fc59
--- /dev/null
+++ b/libjava/javax/naming/NameNotFoundException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class NameNotFoundException extends NamingException
+{
+ public NameNotFoundException ()
+ {
+ super ();
+ }
+
+ public NameNotFoundException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/NamingSecurityException.java b/libjava/javax/naming/NamingSecurityException.java
new file mode 100644
index 00000000000..15501ef92b0
--- /dev/null
+++ b/libjava/javax/naming/NamingSecurityException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class NamingSecurityException extends NamingException
+{
+ public NamingSecurityException ()
+ {
+ super ();
+ }
+
+ public NamingSecurityException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/NoPermissionException.java b/libjava/javax/naming/NoPermissionException.java
new file mode 100644
index 00000000000..4d1ceb5a3b2
--- /dev/null
+++ b/libjava/javax/naming/NoPermissionException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class NoPermissionException extends NamingSecurityException
+{
+ public NoPermissionException ()
+ {
+ super ();
+ }
+
+ public NoPermissionException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/NotContextException.java b/libjava/javax/naming/NotContextException.java
new file mode 100644
index 00000000000..7a681b9981d
--- /dev/null
+++ b/libjava/javax/naming/NotContextException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class NotContextException extends NamingException
+{
+ public NotContextException ()
+ {
+ super ();
+ }
+
+ public NotContextException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/OperationNotSupportedException.java b/libjava/javax/naming/OperationNotSupportedException.java
new file mode 100644
index 00000000000..0c154ebfd68
--- /dev/null
+++ b/libjava/javax/naming/OperationNotSupportedException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class OperationNotSupportedException extends Exception
+{
+ public OperationNotSupportedException()
+ {
+ super();
+ }
+
+ public OperationNotSupportedException(String msg)
+ {
+ super(msg);
+ }
+}
diff --git a/libjava/javax/naming/PartialResultException.java b/libjava/javax/naming/PartialResultException.java
new file mode 100644
index 00000000000..4e827d69217
--- /dev/null
+++ b/libjava/javax/naming/PartialResultException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class PartialResultException extends NamingException
+{
+ public PartialResultException ()
+ {
+ super ();
+ }
+
+ public PartialResultException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/ReferralException.java b/libjava/javax/naming/ReferralException.java
new file mode 100644
index 00000000000..e8697c15f5a
--- /dev/null
+++ b/libjava/javax/naming/ReferralException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class ReferralException extends NamingException
+{
+ public ReferralException ()
+ {
+ super ();
+ }
+
+ public ReferralException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/ServiceUnavailableException.java b/libjava/javax/naming/ServiceUnavailableException.java
new file mode 100644
index 00000000000..de76f286f6a
--- /dev/null
+++ b/libjava/javax/naming/ServiceUnavailableException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class ServiceUnavailableException extends NamingException
+{
+ public ServiceUnavailableException ()
+ {
+ super ();
+ }
+
+ public ServiceUnavailableException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/SizeLimitExceededException.java b/libjava/javax/naming/SizeLimitExceededException.java
new file mode 100644
index 00000000000..2d6c1e6db49
--- /dev/null
+++ b/libjava/javax/naming/SizeLimitExceededException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class SizeLimitExceededException extends LimitExceededException
+{
+ public SizeLimitExceededException ()
+ {
+ super ();
+ }
+
+ public SizeLimitExceededException (String msg)
+ {
+ super (msg);
+ }
+}
diff --git a/libjava/javax/naming/TimeLimitExceededException.java b/libjava/javax/naming/TimeLimitExceededException.java
new file mode 100644
index 00000000000..d3124f4c605
--- /dev/null
+++ b/libjava/javax/naming/TimeLimitExceededException.java
@@ -0,0 +1,24 @@
+/* Copyright (C) 2000 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. */
+
+package javax.naming;
+
+import java.lang.Exception;
+
+public class TimeLimitExceededException extends LimitExceededException
+{
+ public TimeLimitExceededException ()
+ {
+ super ();
+ }
+
+ public TimeLimitExceededException (String msg)
+ {
+ super (msg);
+ }
+}