Author: post
Date: 2010-11-25 21:49:22 +0100 (Thu, 25 Nov 2010)
New Revision: 3637

Modified:
   trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp
Log:
Catch FileIOException.

Modified: trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp
===================================================================
--- trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp        2010-11-25 
20:45:12 UTC (rev 3636)
+++ trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp        2010-11-25 
20:49:22 UTC (rev 3637)
@@ -149,6 +149,10 @@
        {
                printf("RawSpeed: IOException: %s\n", e.what());
        }
+       catch (FileIOException e)
+       {
+               printf("RawSpeed: File IO Exception: %s\n", e.what());
+       }
 
        if (d) delete d;
        if (m) delete m;


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to