Source Home >> Java Source 1.6.0 >> java.net.MalformedURLException V 0.09
  • 01/*
  • 02 * @(#)MalformedURLException.java 1.17 05/11/17
  • 03 *
  • 04 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
  • 05 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  • 06 */
  • 07
  • 08package java.net;
  • 09
  • 10import java.io.IOException;
  • 11
  • 12/**
  • 13 * Thrown to indicate that a malformed URL has occurred. Either no
  • 14 * legal protocol could be found in a specification string or the
  • 15 * string could not be parsed.
  • 16 *
  • 17 * @author Arthur van Hoff
  • 18 * @version 1.17, 11/17/05
  • 19 * @since JDK1.0
  • 20 */
  • 21public class MalformedURLException extends IOException {
  • 22 /**
  • 23 * Constructs a <code>MalformedURLException</code> with no detail message.
  • 24 */
  • 25 public MalformedURLException() {
  • 26 }
  • 27
  • 28 /**
  • 29 * Constructs a <code>MalformedURLException</code> with the
  • 30 * specified detail message.
  • 31 *
  • 32 * @param msg the detail message.
  • 33 */
  • 34 public MalformedURLException(String msg) {
  • 35 super(msg);
  • 36 }
  • 37}

文件:MalformedURLException.java
包名:java.net
类名:MalformedURLException
继承:IOException
接口: