private static void throwAsMalformedURLException ( final String message , final Exception cause ) throws MalformedURLException { final MalformedURLException exception = new MalformedURLException ( message ) ; exception . initCause ( cause ) ; throw exception ; }
Creates an MalformedURLException with a message and a cause .