Fixed compilation errors.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user