Package com.maxmind.geoip2.exception
Class GeoIp2Exception
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.maxmind.geoip2.exception.GeoIp2Exception
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressNotFoundException
,AuthenticationException
,InvalidRequestException
,OutOfQueriesException
,PermissionRequiredException
public class GeoIp2Exception extends Exception
This class represents a generic GeoIP2 error. All other exceptions thrown by the GeoIP2 API subclass this exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoIp2Exception(String message)
GeoIp2Exception(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GeoIp2Exception
public GeoIp2Exception(String message)
- Parameters:
message
- A message describing the reason why the exception was thrown.
-
-