Package com.maxmind.geoip2.exception
Class AddressNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.maxmind.geoip2.exception.GeoIp2Exception
com.maxmind.geoip2.exception.AddressNotFoundException
- All Implemented Interfaces:
Serializable
This exception is thrown when the IP address is not found in the database.
This generally means that the address was a private or reserved address.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAddressNotFoundException
(String message) AddressNotFoundException
(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 Details
-
AddressNotFoundException
- Parameters:
message
- A message explaining the cause of the error.
-
AddressNotFoundException
- Parameters:
message
- A message explaining the cause of the error.e
- The cause of the exception.
-