com.alibaba.dcm.DnsCacheManipulatorException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dns-cache-manipulator Show documentation
Show all versions of dns-cache-manipulator Show documentation
🌏 a tiny 0-dependency thread-safe Java™ lib
for setting/viewing dns programmatically without touching host file,
make unit/integration test portable. support Java 8~21, support IPv6.
package com.alibaba.dcm;
/**
* Thrown to indicate that the operation of {@link DnsCacheManipulator} failed.
*
* @author Jerry Lee (oldratlee at gmail dot com)
* @see DnsCacheManipulator
*/
public final class DnsCacheManipulatorException extends RuntimeException {
private static final long serialVersionUID = -7843069964883320844L;
/**
* Constructs a {@link DnsCacheManipulatorException} with the specified detail message.
*
* @param message the detail message.
*/
public DnsCacheManipulatorException(String message) {
super(message);
}
/**
* Constructs a {@link DnsCacheManipulatorException} with the specified detail message and cause.
*
* @param message the detail message.
* @param cause the cause (which is saved for later retrieval by the
* {@link Throwable#getCause()} method).
*/
public DnsCacheManipulatorException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy