Lines Matching refs:MalformedURLException
35 import java.net.MalformedURLException;
131 * @exception MalformedURLException if <code>serviceURL</code>
138 public JMXServiceURL(String serviceURL) throws MalformedURLException {
146 throw new MalformedURLException("Service URL contains " +
160 throw new MalformedURLException("Service URL must start with " +
171 throw new MalformedURLException("Missing \"://\" after " +
182 throw new MalformedURLException("Bad host name: [ without ]");
185 throw new MalformedURLException("Address inside [...] must " +
198 throw new MalformedURLException("Cannot give port number " +
208 throw new MalformedURLException("Bad port number: \"" +
243 * @exception MalformedURLException if one of the parts is
249 throws MalformedURLException {
270 * @exception MalformedURLException if one of the parts is
277 throws MalformedURLException {
286 throw new MalformedURLException("Local host name unknown: " +
301 } catch (MalformedURLException e) {
316 throw new MalformedURLException("Host starts with [ but " +
321 throw new MalformedURLException("Address inside [...] must " +
325 throw new MalformedURLException("More than one [[...]]");
339 private void validate() throws MalformedURLException {
346 throw new MalformedURLException("Missing or invalid protocol " +
357 throw new MalformedURLException("Bad port: " + port);
363 throw new MalformedURLException("Bad URL path: " + urlPath);
367 private void validateHost() throws MalformedURLException {
370 throw new MalformedURLException("Cannot give port number " +
380 throws MalformedURLException {
396 MalformedURLException bad =
397 new MalformedURLException("Bad IPv6 address: " + h);
474 throw new MalformedURLException("Bad host: \"" + h + "\"");