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

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

package com.maxmind.geoip2.exception;


/**
 * This exception is thrown when permission is required to use the service.
 */
public final class PermissionRequiredException extends GeoIp2Exception {
    /**
     * @param message A message explaining the cause of the error.
     */
    public PermissionRequiredException(String message) {
        super(message);
    }

    /**
     * @param message A message explaining the cause of the error.
     * @param e       The cause of the exception.
     */
    public PermissionRequiredException(String message, Throwable e) {
        super(message, e);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy