summaryrefslogtreecommitdiff
path: root/src/com/google/wireless/gdata/parser/ParseException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/google/wireless/gdata/parser/ParseException.java')
-rw-r--r--src/com/google/wireless/gdata/parser/ParseException.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/com/google/wireless/gdata/parser/ParseException.java b/src/com/google/wireless/gdata/parser/ParseException.java
new file mode 100644
index 0000000..b9dc5e2
--- /dev/null
+++ b/src/com/google/wireless/gdata/parser/ParseException.java
@@ -0,0 +1,38 @@
+// Copyright 2007 The Android Open Source Project
+
+package com.google.wireless.gdata.parser;
+
+import com.google.wireless.gdata.GDataException;
+
+/**
+ * Exception thrown if a GData feed cannot be parsed.
+ */
+public class ParseException extends GDataException {
+
+ /**
+ * Creates a new empty ParseException.
+ */
+ public ParseException() {
+ super();
+ }
+
+ /**
+ * Creates a new ParseException with the supplied message.
+ * @param message The message for this ParseException.
+ */
+ public ParseException(String message) {
+ super(message);
+ }
+
+ /**
+ * Creates a new ParseException with the supplied message and underlying
+ * cause.
+ *
+ * @param message The message for this ParseException.
+ * @param cause The underlying cause that was caught and wrapped by this
+ * ParseException.
+ */
+ public ParseException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}