All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.net.MalformedURLException Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
/*
 * %W% %E%
 *
 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. ORACLE
 * PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package java.net;

import java.io.IOException;

/**
 * Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in
 * a specification string or the string could not be parsed.
 *
 * @author Arthur van Hoff
 * @version %I%, %G%
 * @since JDK1.0
 */
@SuppressWarnings({"serial", "checkstyle:abbreviationaswordinname"})
public class MalformedURLException extends IOException {
  /**
   * Constructs a MalformedURLException with no detail message.
   */
  public MalformedURLException() {
    super();
  }

  /**
   * Constructs a MalformedURLException with the specified detail message.
   *
   * @param msg the detail message.
   */
  public MalformedURLException(final String msg) {
    super(msg);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy