com.sapportals.wcm.util.http

Class ConnectException

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


Copyright 2006 SAP AG Complete Copyright Notice