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

org.jivesoftware.smack.proxy.ProxyException Maven / Gradle / Ivy

There is a newer version: 6.0.37
Show newest version
package org.jivesoftware.smack.proxy;

import java.io.IOException;

/**
 * An exception class to handle exceptions caused by proxy.
 * 
 * @author Atul Aggarwal
 */
public class ProxyException 
    extends IOException
{
    public ProxyException(ProxyInfo.ProxyType type, String ex, Throwable cause)
    {
        super("Proxy Exception " + type.toString() + " : "+ex+", "+cause);
    }
    
    public ProxyException(ProxyInfo.ProxyType type, String ex)
    {
        super("Proxy Exception " + type.toString() + " : "+ex);
    }
    
    public ProxyException(ProxyInfo.ProxyType type)
    {
        super("Proxy Exception " + type.toString() + " : " + "Unknown Error");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy