From 0d91f84c87e8b32c3701edb2583b3f8952d12b48 Mon Sep 17 00:00:00 2001 From: LWogan Date: Mon, 18 Nov 2024 13:22:12 +0000 Subject: [PATCH] CORE-20907: add kdoc for the max allowed message size --- .../net/corda/v5/application/messaging/ExternalMessaging.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/net/corda/v5/application/messaging/ExternalMessaging.java b/application/src/main/java/net/corda/v5/application/messaging/ExternalMessaging.java index c150cfd756..589b7f5922 100644 --- a/application/src/main/java/net/corda/v5/application/messaging/ExternalMessaging.java +++ b/application/src/main/java/net/corda/v5/application/messaging/ExternalMessaging.java @@ -62,7 +62,7 @@ public interface ExternalMessaging { * * @param channelName The name of the channel the message should be sent through. * @param message The contents of the message to be sent. - * @throws CordaRuntimeException if the channel does not exist. + * @throws CordaRuntimeException if the channel does not exist or if the message exceeds the max allowed message size. */ @Suspendable void send(@NotNull String channelName, @NotNull String message); @@ -73,7 +73,7 @@ public interface ExternalMessaging { * @param channelName The name of the channel the message should be sent through. * @param messageId An ID of the message to be sent. * @param message The contents of the message to be sent. - * @throws CordaRuntimeException if the channel does not exist. + * @throws CordaRuntimeException if the channel does not exist or if the message exceeds the max allowed message size. */ @Suspendable void send(@NotNull String channelName, @NotNull String messageId, @NotNull String message);