Uses of Class
inet.ipaddr.HostNameException
Packages that use HostNameException
Package
Description
Base classes for IP addresses and generic addresses.
Validation of address strings and creation of address representations from the validated strings.
-
Uses of HostNameException in inet.ipaddr
Methods in inet.ipaddr that throw HostNameExceptionModifier and TypeMethodDescriptionHostName.toAddress()
If this represents an ip address, returns that address.HostName.toInetAddress()
Returns the InetAddress associated with this host.void
HostName.validate()
Validates that this string is a valid host name or IP address, and if not, throws an exception with a descriptive message indicating why it is not. -
Uses of HostNameException in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that throw HostNameExceptionModifier and TypeMethodDescriptionHostIdentifierStringValidator.validateHost
(HostName fromHost) Validator.validateHost
(HostName fromHost)