public static void setUseFastConnectionExceptions(boolean useFastConnectionExceptions)
Set if a generic static exception can be thrown when a URL cannot be connected.
This optimization is used during class loading to save creating lots of exceptions
which are then swallowed.
Parameters:
useFastConnectionExceptions - if fast connection exceptions can be used.