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
public final class AddressNotFoundException extends GeoIp2Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddressNotFoundException(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 Detail
-
AddressNotFoundException
public AddressNotFoundException(String message)
- Parameters:
message
- A message explaining the cause of the error.
-
-