com.sapportals.wcm.util.http

Class ConnectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by 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

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ConnectException(String host, String reason, int retryInSec, Throwable ex)
           
 
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 com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectException

public ConnectException(String host,
                        String reason,
                        int retryInSec,
                        Throwable ex)
Method Detail

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
Access Rights

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