com.sapportals.wcm.util.http
Class ConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sapportals.wcm.WcmException
com.sapportals.wcm.util.http.ConnectException
- All Implemented Interfaces:
- Serializable
- public class ConnectException
- extends WcmException
Signals connection problems.
Copyright (c) SAP AG 2004
- See Also:
- Serialized Form
|
Method Summary |
String |
getHost()
Gets the name of the host to which the connection failed |
String |
getReason()
Gets the reason why the connection failed (if known) |
int |
getRetryInSec()
Get the recommended retry interval in seconds |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConnectException
public ConnectException(String host,
String reason,
int retryInSec,
Throwable ex)
getHost
public String getHost()
- Gets the name of the host to which the connection failed
- Returns:
- name of the host to which the connection failed
getReason
public String getReason()
- Gets the reason why the connection failed (if known)
- Returns:
- reason of connection failure
getRetryInSec
public int getRetryInSec()
- Get the recommended retry interval in seconds
- Returns:
- the recommended retry interval in seconds
Copyright 2006 SAP AG Complete Copyright Notice