Class ClientDeliveryStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.protonj2.client.exceptions.ClientException
org.apache.qpid.protonj2.client.exceptions.ClientIllegalStateException
org.apache.qpid.protonj2.client.exceptions.ClientDeliveryStateException
- All Implemented Interfaces:
- Serializable
Thrown from client API that deal with a 
Delivery or Tracker where the outcome
 that results from that API can affect whether the API call succeeded or failed.  Such a case might
 be that a sent message is awaiting a remote Accepted outcome but instead the remote sends
 a Rejected outcome.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionClientDeliveryStateException(String message, Throwable cause, DeliveryState outcome) Create a new instance of the client delivery state error.ClientDeliveryStateException(String message, DeliveryState outcome) Create a new instance of the client delivery state error.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ClientDeliveryStateExceptionCreate a new instance of the client delivery state error.- Parameters:
- message- The message that describes the cause of the error.
- outcome- The- DeliveryStatethat caused the error.
 
- 
ClientDeliveryStateExceptionCreate a new instance of the client delivery state error.- Parameters:
- message- The message that describes the cause of the error.
- cause- The exception that initially triggered this error.
- outcome- The- DeliveryStatethat caused the error.
 
 
- 
- 
Method Details- 
getOutcome- Returns:
- the DeliveryStatethat defines the outcome returned from the remote peer.
 
 
-