Code example for MalformedURLException

0
			return new ClientSSK(origURI);
		if("KSK".equals(keyType))
			return ClientKSK.create(origURI.getDocName());
		if("USK".equals(keyType))
			return USK.create(origURI);
		throw new MalformedURLException("Unknown keytype from "+origURI);
	} 
	 
	public abstract FreenetURI getURI(); 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java