com.pushtotest.tool.protocolhandler
Class ConnectionTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.lang.exception.NestableException
com.pushtotest.tool.ToolException
com.pushtotest.tool.protocolhandler.ConnectionTimeoutException
- All Implemented Interfaces:
- java.io.Serializable, org.apache.commons.lang.exception.Nestable
public class ConnectionTimeoutException
- extends ToolException
This is an exception that is thrown if a timeout value is set on a Protocol handler
and the timeout is reached before the connection is completed.
- See Also:
- Serialized Form
| Fields inherited from class org.apache.commons.lang.exception.NestableException |
delegate |
|
Constructor Summary |
ConnectionTimeoutException()
This is the default Constructor for a ConnectionTimeoutException
It creates a new Exception without setting a message. |
ConnectionTimeoutException(java.lang.String message)
This is the Constructor for a ConnectionTimeoutException that takes
a String message to pass. |
ConnectionTimeoutException(java.lang.String message,
java.lang.Throwable cause)
Construct a new ConnectionTimeoutException. |
ConnectionTimeoutException(java.lang.Throwable cause)
Construct a new ConnectionTimeoutException. |
| Methods inherited from class org.apache.commons.lang.exception.NestableException |
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_ERROR
protected static java.lang.String DEFAULT_ERROR
ConnectionTimeoutException
public ConnectionTimeoutException()
- This is the default Constructor for a ConnectionTimeoutException
It creates a new Exception without setting a message.
ConnectionTimeoutException
public ConnectionTimeoutException(java.lang.String message)
- This is the Constructor for a ConnectionTimeoutException that takes
a String message to pass.
- Parameters:
message - An informative message to say why this exception is being
thrown and who's throwing it.
ConnectionTimeoutException
public ConnectionTimeoutException(java.lang.String message,
java.lang.Throwable cause)
- Construct a new ConnectionTimeoutException.
- Parameters:
message - The message to say what went wrong.cause - The exception that caused this to be thrown.
ConnectionTimeoutException
public ConnectionTimeoutException(java.lang.Throwable cause)
- Construct a new ConnectionTimeoutException.
- Parameters:
cause - The exception that caused this to be thrown.