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

com.chavaillaz.client.common.exception.ClientException Maven / Gradle / Ivy

Go to download

Library for the creation of asynchronous clients supporting multiple HTTP clients

There is a newer version: 2.1.3
Show newest version
package com.chavaillaz.client.common.exception;

/**
 * General exception in case something fails in the client.
 */
public class ClientException extends RuntimeException {

    /**
     * Creates a new generic client exception.
     */
    public ClientException() {
        super();
    }

    /**
     * Creates a new generic client exception.
     *
     * @param message The error message
     */
    public ClientException(String message) {
        super(message);
    }

    /**
     * Creates a new generic client exception.
     *
     * @param message The error message
     * @param cause   The root exception
     */
    public ClientException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Creates a new generic client exception.
     *
     * @param cause The root exception
     */
    public ClientException(Throwable cause) {
        super(cause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy