summaryrefslogtreecommitdiff
path: root/src/com/memberwebs/ldapxml/LXException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/memberwebs/ldapxml/LXException.java')
-rw-r--r--src/com/memberwebs/ldapxml/LXException.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/com/memberwebs/ldapxml/LXException.java b/src/com/memberwebs/ldapxml/LXException.java
new file mode 100644
index 0000000..242e081
--- /dev/null
+++ b/src/com/memberwebs/ldapxml/LXException.java
@@ -0,0 +1,34 @@
+package com.memberwebs.ldapxml;
+
+import com.familymembers.util.*;
+
+/**
+ * Thrown when an error occurs during LX retrieval or
+ * processing.
+ *
+ * @author nielsen@memberwebs.com
+ * @version 1.0
+ */
+public class LXException
+ extends WrappedException
+{
+ /**
+ * Creates a new LXException object.
+ *
+ * @param message Error message.
+ */
+ public LXException(String message)
+ {
+ super(message, null);
+ }
+
+ /**
+ * Creates a new LXException object wrapping a current Exception.
+ *
+ * @param e The exception.
+ */
+ public LXException(Exception e)
+ {
+ super(null, e);
+ }
+} \ No newline at end of file