Working with URLs

The URL class provides many constructors for creating URL objects. These constructors can all throw a MalformedURLException so it must be caught.