]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/drew/jpeg/JpegException.java
Version 2, March 2007
[GpsPrune.git] / tim / prune / drew / jpeg / JpegException.java
diff --git a/tim/prune/drew/jpeg/JpegException.java b/tim/prune/drew/jpeg/JpegException.java
new file mode 100644 (file)
index 0000000..5c75766
--- /dev/null
@@ -0,0 +1,25 @@
+package tim.prune.drew.jpeg;
+
+/**
+ * Class to indicate a fatal exception processing a jpeg,
+ * including IO errors and exif errors
+ */
+public class JpegException extends Exception
+{
+       /**
+        * @param message description of error
+        */
+       public JpegException(String message)
+       {
+               super(message);
+       }
+
+       /**
+        * @param message description of error
+        * @param cause Throwable which caused the error
+        */
+       public JpegException(String message, Throwable cause)
+       {
+               super(message, cause);
+       }
+}