Class ClientErrorCondition
java.lang.Object
org.apache.qpid.protonj2.client.impl.ClientErrorCondition
- All Implemented Interfaces:
ErrorCondition
Client implementation of the
ErrorCondition
type that wraps a
Proton specific AMQP ErrorCondition
.-
Constructor Summary
ConstructorDescriptionCreate a newClientErrorCondition
instance with the given error informationClientErrorCondition
(ErrorCondition condition) Create a newClientErrorCondition
that is a copy of the provided instance. -
Method Summary
-
Constructor Details
-
ClientErrorCondition
Create a newClientErrorCondition
that is a copy of the provided instance.- Parameters:
condition
- TheErrorCondition
whose information should be copied to the new value.
-
ClientErrorCondition
Create a newClientErrorCondition
instance with the given error information- Parameters:
condition
- The condition value that defines the error type.description
- A meaningful description of the error.info
- Any additional information that must accompany the error.
-
-
Method Details
-
condition
- Specified by:
condition
in interfaceErrorCondition
- Returns:
- a value that indicates the type of error condition.
-
description
Description copied from interface:ErrorCondition
Descriptive text that supplies any supplementary details not indicated by the condition value..- Specified by:
description
in interfaceErrorCondition
- Returns:
- supplementary details not indicated by the condition value..
-
info
- Specified by:
info
in interfaceErrorCondition
- Returns:
- a
Map
carrying information about the error condition.
-