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

info.bliki.api.NetworkException Maven / Gradle / Ivy

The newest version!
package info.bliki.api;

/**
 * Base class for Exceptions thrown when something has gone wrong with the network
 *
 */
public abstract class NetworkException extends Exception {
    /**
     * Auto-generated serial version UID.
     */
    private static final long serialVersionUID = -7191288040406977235L;

    /** Constructs a new exception with null as its detail message. */
    public NetworkException() {
        super();
    }

    /** Constructs a new exception with the specified detail message. */
    public NetworkException(String message) {
        super(message);
    }

    /** Constructs a new exception with the specified detail message and cause. */
    public NetworkException(String message, Throwable cause) {
        super(message, cause);
    }

    /** Constructs a new exception with the specified cause and a detail
        message of (cause==null ? null : cause.toString()) (which
        typically contains the class and detail message of cause). */
     public NetworkException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy