org.jcoderz.commons.connector
Class ConnectionResponseFailedException

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.ConnectionResponseFailedException
All Implemented Interfaces:
Serializable, Loggable

public class ConnectionResponseFailedException
extends ConnectorException

Failure whilst receiving a response from {org.jcoderz.commons.types.Url:url}. This exception encapsulates the log message ConLogMessage.CONNECTION_RESPONSE_FAILED.

Author:
generated
See Also:
Serialized Form

Constructor Summary
protected ConnectionResponseFailedException(ConLogMessage messageInfo)
          Constructor getting an log message info.
protected ConnectionResponseFailedException(ConLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
  ConnectionResponseFailedException(Url url)
          Constructs a connection response failed exception with a cause.
  ConnectionResponseFailedException(Url url, Throwable cause)
          Constructs a connection response failed exception with a cause.
 
Method Summary
 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

ConnectionResponseFailedException

public ConnectionResponseFailedException(Url url,
                                         Throwable cause)
Constructs a connection response failed exception with a cause.

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

ConnectionResponseFailedException

public ConnectionResponseFailedException(Url url)
Constructs a connection response failed exception with a cause.

Parameters:
url - The url used in the message.

ConnectionResponseFailedException

protected ConnectionResponseFailedException(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

ConnectionResponseFailedException

protected ConnectionResponseFailedException(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.


Copyright 2007 The jCoderZ Project.