|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.rabbitmq.client.RedirectException
public class RedirectException
Encapsulates an exception requiring redirection to the next from a list of "known addresses"
| Constructor Summary | |
|---|---|
RedirectException(Address address,
Address[] knownAddresses)
Construct a RedirectException from the given initialization parameters. |
|
| Method Summary | |
|---|---|
Address |
getAddress()
Returns the address to redirect to |
Address[] |
getKnownAddresses()
Returns the known cluster addresses |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
|---|
public RedirectException(Address address,
Address[] knownAddresses)
address - the address we are redirecting toknownAddresses - the list of all known addresses| Method Detail |
|---|
public Address getAddress()
public Address[] getKnownAddresses()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||