mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-14 16:22:07 +01:00
7f77fda9db
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10674 b35dd754-fafc-0310-a699-88a17e54d16e
27 lines
681 B
Java
27 lines
681 B
Java
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");
|
|
}
|
|
}
|