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