PageRenderTime 15ms CodeModel.GetById 12ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. /*
  2. * This file is part of MP.
  3. *
  4. * MP is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * MP is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with MP. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. package mpv5.webshopinterface;
  18. //~--- JDK imports ------------------------------------------------------------
  19. import java.net.URL;
  20. /**
  21. * This is thrown if the host is not reachable or does not reply with the expected version
  22. */
  23. public class NoCompatibleHostFoundException extends Exception {
  24. /**
  25. * Throw this exception
  26. * @param host
  27. */
  28. public NoCompatibleHostFoundException(URL host) {
  29. super(host.toString());
  30. }
  31. }
  32. //~ Formatted by Jindent --- http://www.jindent.com