aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/ParserException.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/files/ParserException.java')
-rw-r--r--main/src/cgeo/geocaching/files/ParserException.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/files/ParserException.java b/main/src/cgeo/geocaching/files/ParserException.java
new file mode 100644
index 0000000..5aa152c
--- /dev/null
+++ b/main/src/cgeo/geocaching/files/ParserException.java
@@ -0,0 +1,24 @@
+package cgeo.geocaching.files;
+
+/**
+ * Exception indicating that a FileParser (GPX or LOC) could not parse the file due to bad file format.
+ */
+public class ParserException extends Exception {
+ private static final long serialVersionUID = 1L;
+
+ public ParserException() {
+ }
+
+ public ParserException(String detailMessage) {
+ super(detailMessage);
+ }
+
+ public ParserException(Throwable throwable) {
+ super(throwable);
+ }
+
+ public ParserException(String detailMessage, Throwable throwable) {
+ super(detailMessage, throwable);
+ }
+
+}