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:
java.io.Serializable
public class AmqpConnectException extends AmqpException
RuntimeException wrapper for anConnectException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmqpConnectException(java.lang.Exception cause)
Construct an instance with the supplied message and cause.AmqpConnectException(java.lang.String message, java.lang.Throwable cause)
Construct an instance with the supplied message and cause.
-
-
-
Constructor Detail
-
AmqpConnectException
public AmqpConnectException(java.lang.Exception cause)
Construct an instance with the supplied message and cause.- Parameters:
cause
- the cause.
-
AmqpConnectException
public AmqpConnectException(java.lang.String message, java.lang.Throwable cause)
Construct an instance with the supplied message and cause.- Parameters:
message
- the message.cause
- the cause.- Since:
- 2.0
-
-