Fixed compilation errors.

This commit is contained in:
Juan Carlos Luciani
2007-03-19 17:57:15 +00:00
parent bbb8b25e49
commit 3836edc9d7
8 changed files with 52 additions and 17 deletions

View File

@@ -40,6 +40,7 @@ public class DeleteFile
final static int ERROR_MISSING_FILE_PARAM = -7;
final static int ERROR_FILTER_ON_NON_DIRECTORY = -8;
final static int ERROR_BAD_PROPERTY_FILE_PARAM = -9;;
final static int ERROR_EXCEPTION = -10;
final static String FILE_KEY = "file=";
final static String FILTER_KEY = "filter=";
@@ -73,9 +74,9 @@ public class DeleteFile
}
}
catch (IOException e)
catch (Exception e)
{
rc = ERROR_IO_EXCEPTION;
rc = ERROR_EXCEPTION;
}
finally
{
@@ -351,6 +352,12 @@ public class DeleteFile
case ERROR_BAD_PROPERTY_FILE_PARAM:
sMessage = "Bad property file parameter";
break;
case ERROR_IO_EXCEPTION:
sMessage = "IOException ";
break;
case ERROR_EXCEPTION:
sMessage = "Exception ";
break;
default:
sMessage = "Unknown error: " + err;
break;