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
This class represents a generic GeoIP2 error. All other exceptions thrown by
the GeoIP2 API subclass this exception
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeoIp2Exception(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 Details
-
GeoIp2Exception
- Parameters:
message- A message describing the reason why the exception was thrown.
-
GeoIp2Exception
- Parameters:
message- A message describing the reason why the exception was thrown.cause- The cause of the exception.
-