Package com.maxmind.geoip2.exception
Class PermissionRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.maxmind.geoip2.exception.GeoIp2Exception
-
- com.maxmind.geoip2.exception.PermissionRequiredException
-
- All Implemented Interfaces:
Serializable
public final class PermissionRequiredException extends GeoIp2Exception
This exception is thrown when permission is required to use the service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionRequiredException(String message)
PermissionRequiredException(String message, Throwable e)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PermissionRequiredException
public PermissionRequiredException(String message)
- Parameters:
message
- A message explaining the cause of the error.
-
-