net.sf.geographiclib.GeographicErr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GeographicLib-Java Show documentation
Show all versions of GeographicLib-Java Show documentation
This is a Java implementation of the geodesic algorithms from
GeographicLib. This is a self-contained library to solve geodesic
problems on an ellipsoid model of the earth. It requires Java
version 1.7 or later.
/**
* Implementation of the net.sf.geographiclib.GeographicErr class
*
* Copyright (c) Charles Karney (2013) and licensed
* under the MIT/X11 License. For more information, see
* https://geographiclib.sourceforge.io/
**********************************************************************/
package net.sf.geographiclib;
/**
* Exception handling for GeographicLib.
*
* A class to handle exceptions. It's derived from RuntimeException so it
* can be caught by the usual catch clauses.
**********************************************************************/
public class GeographicErr extends RuntimeException {
/**
* Constructor
*
* @param msg a string message, which is accessible in the catch
* clause via getMessage().
**********************************************************************/
public GeographicErr(String msg) { super(msg); }
}