All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.dcm.DnsCacheManipulatorException Maven / Gradle / Ivy

Go to download

🌏 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.

There is a newer version: 1.8.3
Show newest version
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