private static void showDirectoryCreationError(final String directory){
  final String message="E00001: " + "Could not create the settings directory";
  final String description=CUtilityFunctions.createDescription(String.format("BinNavi could not create the settings directory '%s'.",directory),new String[]{"Your user account does not have sufficient rights to create this directory"},new String[]{"Changes to the global settings will not be saved","The error log file can not be stored"});
  NaviErrorDialog.show(null,message,description);
}

private static void showDirectoryCreationError ( final String directory ) { final String message = "E00001: " + "Could not create the settings directory" ; final String description = CUtilityFunctions . createDescription ( String . format ( "BinNavi could not create the settings directory '%s'." , directory ) , new String [ ] { "Your user account does not have sufficient rights to create this directory" } , new String [ ] { "Changes to the global settings will not be saved" , "The error log file can not be stored" } ) ; NaviErrorDialog . show ( null , message , description ) ; }
shows a error dialog in case creating a directory failed .
