This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit d6967f483801ed60f474d30f1032f1ab355c29cd Author: Gary Gregory <[email protected]> AuthorDate: Mon Dec 27 10:34:43 2021 -0500 Add missing Javadoc. --- .../java/org/apache/logging/log4j/core/appender/mom/JmsManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java index fec7fe0..0ac6f33 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java @@ -352,7 +352,7 @@ public class JmsManager extends AbstractManager { * @param object * The LogEvent or String message to wrap. * @return A new JMS message containing the provided object. - * @throws JMSException + * @throws JMSException if the JMS provider fails to create this message due to some internal error. */ public Message createMessage(final Serializable object) throws JMSException { if (object instanceof String) { @@ -373,7 +373,7 @@ public class JmsManager extends AbstractManager { * Creates a MessageConsumer on this Destination using the current Session. * * @return A MessageConsumer on this Destination. - * @throws JMSException + * @throws JMSException if the session fails to create a consumer due to some internal error. */ public MessageConsumer createMessageConsumer() throws JMSException { return this.session.createConsumer(this.destination); @@ -387,7 +387,7 @@ public class JmsManager extends AbstractManager { * @param destination * The JMS Destination for the MessageProducer * @return A MessageProducer on this Destination. - * @throws JMSException + * @throws JMSException if the session fails to create a MessageProducer due to some internal error. */ public MessageProducer createMessageProducer(final Session session, final Destination destination) throws JMSException {
