Improve error handling by backups
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.core / src / main / java / org / argeo / server / backup / BackupUtils.java
index 88480b31872144f9ae2e87e76c88fde91f39bbfb..9bac5db95c02ba282cad8ae86b60cb399d6a6773 100644 (file)
@@ -1,7 +1,6 @@
 package org.argeo.server.backup;
 
 import org.apache.commons.vfs.FileObject;
-import org.apache.commons.vfs.FileSystemException;
 
 /** Backup utilities */
 public class BackupUtils {
@@ -10,12 +9,12 @@ public class BackupUtils {
                if (fo != null) {
                        try {
                                fo.close();
-                       } catch (FileSystemException e) {
+                       } catch (Exception e) {
                                // silent
                        }
                }
        }
-
+       
        /** Prevents instantiation */
        private BackupUtils() {
        }