PageRenderTime 105ms CodeModel.GetById 39ms app.highlight 27ms RepoModel.GetById 34ms app.codeStats 0ms

/src/mpv5/webshopinterface/NoCompatibleHostFoundException.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 39 lines | 7 code | 7 blank | 25 comment | 0 complexity | 136ac4aa8c1940b29276841abc2d2813 MD5 | raw file
 1
 2/*
 3*  This file is part of MP.
 4*
 5*      MP is free software: you can redistribute it and/or modify
 6*      it under the terms of the GNU General Public License as published by
 7*      the Free Software Foundation, either version 3 of the License, or
 8*      (at your option) any later version.
 9*
10*      MP is distributed in the hope that it will be useful,
11*      but WITHOUT ANY WARRANTY; without even the implied warranty of
12*      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*      GNU General Public License for more details.
14*
15*      You should have received a copy of the GNU General Public License
16*      along with MP.  If not, see <http://www.gnu.org/licenses/>.
17 */
18package mpv5.webshopinterface;
19
20//~--- JDK imports ------------------------------------------------------------
21
22import java.net.URL;
23
24/**
25 * This is thrown if the host is not reachable or does not reply with the expected version
26 */
27public class NoCompatibleHostFoundException extends Exception {
28
29    /**
30     * Throw this exception
31     * @param host
32     */
33    public NoCompatibleHostFoundException(URL host) {
34        super(host.toString());
35    }
36}
37
38
39//~ Formatted by Jindent --- http://www.jindent.com