All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.maxmind.geoip2.exception.GeoIp2Exception Maven / Gradle / Ivy

package com.maxmind.geoip2.exception;

/**
 * This class represents a generic GeoIP2 error. All other exceptions thrown by
 * the GeoIP2 API subclass this exception
 */
public class GeoIp2Exception extends Exception {

    private static final long serialVersionUID = -1923104535309628719L;

    /**
     * @param message A message describing the reason why the exception was thrown.
     */
    public GeoIp2Exception(String message) {
        super(message);
    }

    /**
     * @param message A message describing the reason why the exception was thrown.
     * @param cause   The cause of the exception.
     */
    public GeoIp2Exception(String message, Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy