mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-07-04 01:02:35 +02:00
4c4cc77e42
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10673 b35dd754-fafc-0310-a699-88a17e54d16e
55 lines
1.3 KiB
Java
55 lines
1.3 KiB
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");
|
|
}
|
|
}
|
|
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");
|
|
}
|
|
}
|