public class ConnectionException extends OperationFailedException
_isTracable
Constructor | Description |
---|---|
ConnectionException() |
Default constructor.
|
ConnectionException(int errorCode) |
Overloaded constructor
|
ConnectionException(int errorCode,
java.lang.String reason) |
Overloaded constructor
|
ConnectionException(int errorCode,
java.lang.String reason,
java.lang.Throwable cause) |
Overloaded constructor
|
ConnectionException(int errorCode,
java.lang.String reason,
java.net.InetAddress ipAddress,
int port) |
Overloaded constructor
|
ConnectionException(int errorCode,
java.net.InetAddress ipAddress,
int port) |
Overloaded constructor
|
ConnectionException(java.lang.String reason) |
Overloaded constructor, takes the reason as parameter.
|
ConnectionException(java.lang.String reason,
java.net.InetAddress ipAddress,
int port) |
Overloaded constructor, takes the reason, ipAddress and port as parameter.
|
ConnectionException(java.net.InetAddress ipAddress,
int port) |
Overloaded constructor, takes the ipAddress and port as parameter.
|
Modifier and Type | Method | Description |
---|---|---|
java.net.InetAddress |
getaddress() |
|
int |
getport() |
getErrorCode, printStackTrace, setErrorCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIsTracable
public ConnectionException()
public ConnectionException(java.lang.String reason)
public ConnectionException(java.lang.String reason, java.net.InetAddress ipAddress, int port)
public ConnectionException(java.net.InetAddress ipAddress, int port)
public ConnectionException(int errorCode)
errorCode
- assigned errorcodepublic ConnectionException(int errorCode, java.lang.String reason)
errorCode
- assigned errorcodereason
- exception messagepublic ConnectionException(int errorCode, java.lang.String reason, java.lang.Throwable cause)
errorCode
- assigned errorcodereason
- exception messagecause
- causepublic ConnectionException(int errorCode, java.lang.String reason, java.net.InetAddress ipAddress, int port)
errorCode
- assigned errorcodereason
- exception messageipAddress
- port
- public ConnectionException(int errorCode, java.net.InetAddress ipAddress, int port)
errorCode
- assigned errorcodeipAddress
- port
-