org.apache.qpid.management.wsdm.common
Class UnableToConnectWithBrokerFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.muse.ws.addressing.soap.SoapFault
              extended by org.apache.muse.ws.resource.basefaults.BaseFault
                  extended by org.apache.qpid.management.wsdm.common.QManFault
                      extended by org.apache.qpid.management.wsdm.common.UnableToConnectWithBrokerFault
All Implemented Interfaces:
Serializable, org.apache.muse.util.xml.XmlSerializable

public class UnableToConnectWithBrokerFault
extends QManFault

This is the exception encapsulating the fault that will be thrown in case of broker connection failure.

See Also:
Serialized Form

Constructor Summary
UnableToConnectWithBrokerFault(org.apache.muse.ws.addressing.EndpointReference endpointReference, String host, int port, String username, String virtualHostName, String message)
          Builds a new exception with the given endpoint reference and connection data.
 
Method Summary
 Element getDetail()
           
 
Methods inherited from class org.apache.muse.ws.resource.basefaults.BaseFault
getDescription, getErrorCode, getErrorCodeDialect, getName, getOriginReference, getTimestamp, setErrorCode, setOriginReference
 
Methods inherited from class org.apache.muse.ws.addressing.soap.SoapFault
getCode, getMessage, getNodeURI, getReason, getRoleURI, getSubCode, setCode, setDetail, setNodeURI, setReason, setRoleURI, setSubCode, toXML, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnableToConnectWithBrokerFault

public UnableToConnectWithBrokerFault(org.apache.muse.ws.addressing.EndpointReference endpointReference,
                                      String host,
                                      int port,
                                      String username,
                                      String virtualHostName,
                                      String message)
Builds a new exception with the given endpoint reference and connection data.

Parameters:
host - the requested qpid host.
port - the requested qpid port.
username - the username used for estabilishing connection.
virtualHostName - the name of the target virtual host..
Method Detail

getDetail

public Element getDetail()
Overrides:
getDetail in class org.apache.muse.ws.resource.basefaults.BaseFault


Licensed to the Apache Software Foundation