public static void isValidPath(String matsimConfiFile){
  if (matsimConfiFile == null || matsimConfiFile.length() <= 0 || !pathExsits(matsimConfiFile))   throw new RuntimeException(matsimConfiFile + " is not a valid path to a MATSim configuration file. SHUTDOWN MATSim!");
}

public static void isValidPath ( String matsimConfiFile ) { if ( matsimConfiFile == null || matsimConfiFile . length ( ) <= 0 || ! pathExsits ( matsimConfiFile ) ) throw new RuntimeException ( matsimConfiFile + " is not a valid path to a MATSim configuration file. SHUTDOWN MATSim!" ) ; }
verifying if args argument contains a valid path .
