Class ProviderSendTimedOutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.jms.provider.ProviderException
-
- org.apache.qpid.jms.provider.exceptions.ProviderOperationTimedOutException
-
- org.apache.qpid.jms.provider.exceptions.ProviderSendTimedOutException
-
- All Implemented Interfaces:
Serializable
public class ProviderSendTimedOutException extends ProviderOperationTimedOutException
Thrown when a message send operation times out in the Provider layer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProviderSendTimedOutException(String reason)ProviderSendTimedOutException(String reason, JmsMessage unsentMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsMessagegetUnsentMessage()JmsSendTimedOutExceptiontoJMSException()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProviderSendTimedOutException
public ProviderSendTimedOutException(String reason)
-
ProviderSendTimedOutException
public ProviderSendTimedOutException(String reason, JmsMessage unsentMessage)
-
-
Method Detail
-
getUnsentMessage
public JmsMessage getUnsentMessage()
-
toJMSException
public JmsSendTimedOutException toJMSException()
- Overrides:
toJMSExceptionin classProviderOperationTimedOutException
-
-