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
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice