proper exception handling for URLClassLocation