MalformeredURLException handler for parseURL