
net.stickycode.coercion.InetSocketAddressCannotBeResolvedFromHostNameException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sticky-coercion Show documentation
Show all versions of sticky-coercion Show documentation
A simple coercion library for converting strings to objects
package net.stickycode.coercion;
import java.net.UnknownHostException;
import net.stickycode.exception.PermanentException;
@SuppressWarnings("serial")
public class InetSocketAddressCannotBeResolvedFromHostNameException
extends PermanentException {
public InetSocketAddressCannotBeResolvedFromHostNameException(UnknownHostException e, String hostname) {
super(e, "Could not resolve {} to an ip address", hostname);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy