com.ibm.di.connector.maximo.exception
Class MxConnTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.di.connector.maximo.exception.MxConnectorException
com.ibm.di.connector.maximo.exception.MxConnIOException
com.ibm.di.connector.maximo.exception.MxConnTimeoutException
- All Implemented Interfaces:
- Serializable
public class MxConnTimeoutException
- extends MxConnIOException
TPAE IF Connector's timeout exception. Thrown to indicate the timeout
expires before the connection can be estabilished or before there is data
available for read.
- Since:
- 7.1
- See Also:
- Serialized Form
Method Summary |
int |
getTimeout()
Returns the timeout, in milliseconds. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MxConnTimeoutException
public MxConnTimeoutException(String msg,
String targetUrl,
int timeout,
Throwable cause)
- Constructs a new
MxConnTimeoutException
.
- Parameters:
targetUrl
- target URLtimeout
- timeout, in millisecondscause
- the cause
getTimeout
public int getTimeout()
- Returns the timeout, in milliseconds.
- Returns:
- timeout, in milliseconds