org.jcoderz.commons.connector
Class ConnectionRequestFailedException

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.ConnectionRequestFailedException
All Implemented Interfaces:
Serializable, Loggable
Direct Known Subclasses:
CreatingConnectorFailedException

public class ConnectionRequestFailedException
extends ConnectorException

Failure whilst sending a request to {org.jcoderz.commons.types.Url:url}. This exception encapsulates the log message ConLogMessage.CONNECTION_REQUEST_FAILED.

Author:
generated
See Also:
Serialized Form

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

ConnectionRequestFailedException

public ConnectionRequestFailedException(Url url,
                                        Throwable cause)
Constructs a connection request failed exception with a cause.

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

ConnectionRequestFailedException

public ConnectionRequestFailedException(Url url)
Constructs a connection request failed exception with a cause.

Parameters:
url - The url used in the message.

ConnectionRequestFailedException

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

ConnectionRequestFailedException

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