Package org.apache.qpid.protonj2.client
Interface ErrorCondition
- All Known Implementing Classes:
- ClientErrorCondition
public interface ErrorCondition
Conveys the error value used to inform the user of why an endpoint
 was closed or a delivery rejected.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ErrorConditionCreate an error condition object using the supplied values.static ErrorConditionCreate an error condition object using the supplied values.Descriptive text that supplies any supplementary details not indicated by the condition value..info()
- 
Method Details- 
conditionString condition()- Returns:
- a value that indicates the type of error condition.
 
- 
descriptionString description()Descriptive text that supplies any supplementary details not indicated by the condition value..- Returns:
- supplementary details not indicated by the condition value..
 
- 
info- Returns:
- a Mapcarrying information about the error condition.
 
- 
createCreate an error condition object using the supplied values. The condition string cannot be null however the other attribute can.- Parameters:
- condition- The value that defines the error condition.
- description- The supplementary description for the given error condition.
- Returns:
- a new read-only ErrorConditionobject
 
- 
createCreate an error condition object using the supplied values. The condition string cannot be null however the other attribute can.- Parameters:
- condition- The value that defines the error condition.
- description- The supplementary description for the given error condition.
- info- A- Mapcontaining additional error information.
- Returns:
- a new read-only ErrorConditionobject
 
 
-