jtulach@121: /*
jtulach@121: * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
jtulach@121: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jtulach@121: *
jtulach@121: * This code is free software; you can redistribute it and/or modify it
jtulach@121: * under the terms of the GNU General Public License version 2 only, as
jtulach@121: * published by the Free Software Foundation. Oracle designates this
jtulach@121: * particular file as subject to the "Classpath" exception as provided
jtulach@121: * by Oracle in the LICENSE file that accompanied this code.
jtulach@121: *
jtulach@121: * This code is distributed in the hope that it will be useful, but WITHOUT
jtulach@121: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jtulach@121: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jtulach@121: * version 2 for more details (a copy is included in the LICENSE file that
jtulach@121: * accompanied this code).
jtulach@121: *
jtulach@121: * You should have received a copy of the GNU General Public License version
jtulach@121: * 2 along with this work; if not, write to the Free Software Foundation,
jtulach@121: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jtulach@121: *
jtulach@121: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jtulach@121: * or visit www.oracle.com if you need additional information or have any
jtulach@121: * questions.
jtulach@121: */
jtulach@121:
jtulach@121: package java.net;
jtulach@121:
jtulach@121: import java.io.IOException;
jtulach@121:
jtulach@121: /**
jtulach@121: * Thrown to indicate that a malformed URL has occurred. Either no
jtulach@121: * legal protocol could be found in a specification string or the
jtulach@121: * string could not be parsed.
jtulach@121: *
jtulach@121: * @author Arthur van Hoff
jtulach@121: * @since JDK1.0
jtulach@121: */
jtulach@121: public class MalformedURLException extends IOException {
jtulach@121: private static final long serialVersionUID = -182787522200415866L;
jtulach@121:
jtulach@121: /**
jtulach@121: * Constructs a MalformedURLException
with no detail message.
jtulach@121: */
jtulach@121: public MalformedURLException() {
jtulach@121: }
jtulach@121:
jtulach@121: /**
jtulach@121: * Constructs a MalformedURLException
with the
jtulach@121: * specified detail message.
jtulach@121: *
jtulach@121: * @param msg the detail message.
jtulach@121: */
jtulach@121: public MalformedURLException(String msg) {
jtulach@121: super(msg);
jtulach@121: }
jtulach@121: }