Package org.springframework.amqp
Class AmqpConnectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.amqp.AmqpException
org.springframework.amqp.AmqpConnectException
- All Implemented Interfaces:
Serializable
RuntimeException wrapper for an
ConnectException
which can be commonly
thrown from AMQP operations if the remote process dies or there is a network issue.- Author:
- Dave Syer, Gary Russell
- See Also:
-
Constructor Summary
ConstructorDescriptionAmqpConnectException
(Exception cause) Construct an instance with the supplied message and cause.AmqpConnectException
(String message, Throwable cause) Construct an instance with the supplied message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmqpConnectException
Construct an instance with the supplied message and cause.- Parameters:
cause
- the cause.
-
AmqpConnectException
Construct an instance with the supplied message and cause.- Parameters:
message
- the message.cause
- the cause.- Since:
- 2.0
-