org.jcoderz.commons.connector
Class ConnectionTimeoutErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jcoderz.commons.BaseException
              extended by org.jcoderz.commons.connector.ConnectorException
                  extended by org.jcoderz.commons.connector.ConnectionTimeoutErrorException
All Implemented Interfaces:
Serializable, Loggable

public class ConnectionTimeoutErrorException
extends ConnectorException

Connection timeout whilst waiting for response from {org.jcoderz.commons.types.Url:url}. Previous failures are {String:failures}. This exception encapsulates the log message ConLogMessage.CONNECTION_TIMEOUT_ERROR.

Author:
generated
See Also:
Serialized Form

Constructor Summary
protected ConnectionTimeoutErrorException(ConLogMessage messageInfo)
          Constructor getting an log message info.
protected ConnectionTimeoutErrorException(ConLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
  ConnectionTimeoutErrorException(Url url, String failures)
          Constructs a connection timeout error exception with a cause.
  ConnectionTimeoutErrorException(Url url, String failures, Throwable cause)
          Constructs a connection timeout error exception with a cause.
 
Method Summary
 String valueOfFailures()
          Returns the value of the parameter failures.
 Url valueOfUrl()
          Returns the value of the parameter url.
 
Methods inherited from class org.jcoderz.commons.BaseException
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionTimeoutErrorException

public ConnectionTimeoutErrorException(Url url,
                                       String failures,
                                       Throwable cause)
Constructs a connection timeout error exception with a cause.

Parameters:
url - The url used in the message.
failures - The failures used in the message.
cause - the cause of this exception.

ConnectionTimeoutErrorException

public ConnectionTimeoutErrorException(Url url,
                                       String failures)
Constructs a connection timeout error exception with a cause.

Parameters:
url - The url used in the message.
failures - The failures used in the message.

ConnectionTimeoutErrorException

protected ConnectionTimeoutErrorException(ConLogMessage messageInfo)
Constructor getting an log message info. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception

ConnectionTimeoutErrorException

protected ConnectionTimeoutErrorException(ConLogMessage messageInfo,
                                          Throwable cause)
Constructor getting an log message info and a root exception. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception
cause - the problem that caused this exception to be thrown
Method Detail

valueOfUrl

public Url valueOfUrl()
Returns the value of the parameter url.

Returns:
the value of the parameter url.

valueOfFailures

public String valueOfFailures()
Returns the value of the parameter failures.

Returns:
the value of the parameter failures.


Copyright 2007 The jCoderZ Project.