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

@@ -41,6 +41,7 @@ public class MungeCryptoPropertiesFilePath
final static int ERROR_MISSING_OUTPUT_FILE_PARAM = -8;
final static int ERROR_CANNOT_READ_FILE = -9;
final static int ERROR_CANNOT_CREATE_FILE = -10;
final static int ERROR_EXCEPTION = -11;
final static String INPUT_FILE_PARAM = "input=";
final static String OUTPUT_FILE_PARAM = "output=";
@@ -85,9 +86,9 @@ public class MungeCryptoPropertiesFilePath
rc = createOutputFile();
}
}
catch (IOException e)
catch (Exception e)
{
rc = ERROR_IO_EXCEPTION;
rc = ERROR_EXCEPTION;
}
finally
{
@@ -304,6 +305,9 @@ public class MungeCryptoPropertiesFilePath
case ERROR_CANNOT_CREATE_FILE:
sMessage = "Cannot create file";
break;
case ERROR_EXCEPTION:
sMessage = "Exception";
break;
default:
sMessage = "Unknown error: " + err;
break;