Handle the case where the orientation column is not here...

bug:7537610
Change-Id: I4f64891a789358c20206aea3033fd17514199d62
diff --git a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java
index 21548b1..afef58a 100644
--- a/src/com/android/gallery3d/filtershow/cache/ImageLoader.java
+++ b/src/com/android/gallery3d/filtershow/cache/ImageLoader.java
@@ -151,6 +151,8 @@
             }
         } catch (SQLiteException e){
             return ExifInterface.ORIENTATION_UNDEFINED;
+        } catch (IllegalArgumentException e) {
+            return ExifInterface.ORIENTATION_UNDEFINED;
         } finally {
             Utils.closeSilently(cursor);
         }