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

@@ -55,6 +55,7 @@ public class InitConfigFile
final static int ERROR_UNABLE_TO_OPEN_TEMPLATE = -30;
final static int ERROR_FILEWRITER_CREATE_FAILED = -31;
final static int ERROR_BAD_ESCAPE_PATH_CHARS_PARAM = -32;
final static int ERROR_EXCEPTION = -33;
final static String TEMPLATE_FILE_PARAM = "template=";
final static String OUTPUT_FILE_PARAM = "output=";
@@ -113,9 +114,9 @@ public class InitConfigFile
}
}
}
catch (IOException e)
catch (Exception e)
{
rc = ERROR_IO_EXCEPTION;
rc = ERROR_EXCEPTION;
}
finally
{
@@ -516,6 +517,9 @@ public class InitConfigFile
case ERROR_FILEWRITER_CREATE_FAILED:
sMessage = "FileWriter create failed";
break;
case ERROR_EXCEPTION:
sMessage = "Exception ";
break;
default:
sMessage = "Unknown error: " + err;
break;