Again, I'd recommend against calling System.exit() here.  If I wanted to write a unit test to test what happens when the configuration contains an invalid URL, I couldn't because the test VM would exit.