/** * Gets an AMQP {@link ErrorCondition} based on this exception's error and description. * * @return The condition. */ public ErrorCondition asErrorCondition() { return ProtonHelper.condition(error.toString(), getMessage()); } }
/** * Gets an AMQP {@link ErrorCondition} based on this exception's error and description. * * @return The condition. */ public ErrorCondition asErrorCondition() { return ProtonHelper.condition(error.toString(), getMessage()); } }