GH-1352: Add Getter to StreamSendException.confCode

This commit is contained in:
Gary Russell
2021-09-09 12:41:01 -04:00
parent c8663b3748
commit 2ecde2a282

View File

@@ -40,4 +40,12 @@ public class StreamSendException extends AmqpException {
this.confirmationCode = code;
}
/**
* Return the confirmation code, if available.
* @return the code.
*/
public int getConfirmationCode() {
return this.confirmationCode;
}
}