diff --git a/aeron-client/src/main/java/io/aeron/protocol/ErrorFlyweight.java b/aeron-client/src/main/java/io/aeron/protocol/ErrorFlyweight.java index efb30c2a68..6940adaf6c 100644 --- a/aeron-client/src/main/java/io/aeron/protocol/ErrorFlyweight.java +++ b/aeron-client/src/main/java/io/aeron/protocol/ErrorFlyweight.java @@ -95,6 +95,9 @@ public class ErrorFlyweight extends HeaderFlyweight */ public static final int MAX_ERROR_MESSAGE_LENGTH = 1023; + /** + * Maximum length of an error frame. Captures the maximum message length and the header length. + */ public static final int MAX_ERROR_FRAME_LENGTH = HEADER_LENGTH + MAX_ERROR_MESSAGE_LENGTH; /**