org.apache.qpid
Class AMQUnresolvedAddressException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.AMQUnresolvedAddressException
All Implemented Interfaces:
Serializable

public class AMQUnresolvedAddressException
extends AMQException

AMQUnresolvedAddressException indicates failure to resolve a socket address.

CRC Card
Responsibilities Collaborations
Represents failre to resolve a socket address.

See Also:
Serialized Form
Todo:
Not an AMQP exception as no status code., Why replace java.nio.UnresolvedAddressException with this? This is checked, which may explain why, but it doesn't wrap the underlying exception.

Field Summary
(package private)  String _broker
           
 
Constructor Summary
AMQUnresolvedAddressException(String message, String broker, Throwable cause)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, isHardError
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_broker

String _broker
Constructor Detail

AMQUnresolvedAddressException

public AMQUnresolvedAddressException(String message,
                                     String broker,
                                     Throwable cause)
Method Detail

toString

public String toString()
Overrides:
toString in class AMQException


Licensed to the Apache Software Foundation