Class GeographicErr

  • All Implemented Interfaces:
    java.io.Serializable

    public class GeographicErr
    extends java.lang.RuntimeException
    Exception handling for GeographicLib.

    A class to handle exceptions. It's derived from RuntimeException so it can be caught by the usual catch clauses.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GeographicErr​(java.lang.String msg)
      Constructor
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GeographicErr

        public GeographicErr​(java.lang.String msg)
        Constructor

        Parameters:
        msg - a string message, which is accessible in the catch clause via getMessage().