summaryrefslogtreecommitdiff
path: root/libjava/javax/naming/NamingException.java
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-27 03:16:14 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-27 03:16:14 +0000
commitc59e6378223eba3d47ebeb9d261e762322c2d661 (patch)
treefddd25f01c276e915b483a1138befefd75ad4852 /libjava/javax/naming/NamingException.java
parent378db68f2e728a6ea8e1a814dae2433b32ef65fa (diff)
downloadgcc-c59e6378223eba3d47ebeb9d261e762322c2d661.tar.gz
Initial jndi check-in
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax/naming/NamingException.java')
-rw-r--r--libjava/javax/naming/NamingException.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/libjava/javax/naming/NamingException.java b/libjava/javax/naming/NamingException.java
new file mode 100644
index 00000000000..4cd87061123
--- /dev/null
+++ b/libjava/javax/naming/NamingException.java
@@ -0,0 +1,36 @@
+/* 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 NamingException extends Exception
+{
+ protected Throwable rootException;
+
+ public NamingException()
+ {
+ super();
+ }
+
+ public NamingException(String msg)
+ {
+ super(msg);
+ }
+
+ public Throwable getRootCause ()
+ {
+ return rootException;
+ }
+
+ public void setRootCause (Throwable e)
+ {
+ rootException = e;
+ }
+}