Class 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:
  • Constructor Details

    • AddressNotFoundException

      public AddressNotFoundException(String message)
      Parameters:
      message - A message explaining the cause of the error.
    • AddressNotFoundException

      public AddressNotFoundException(String message, Throwable e)
      Parameters:
      message - A message explaining the cause of the error.
      e - The cause of the exception.