mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-09-08 09:10:31 +02:00
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10674 b35dd754-fafc-0310-a699-88a17e54d16e
28 lines
681 B
Java
28 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");
|
|
}
|
|
}
|