GetMessageOut Method.
491585
public MessageInfo getMessageOut(MessageProcessInfo recMessageProcessInfo)
    {
        MessageProcessInfo recMessageProcessInfo2 =  (MessageProcessInfo)((ReferenceField)recMessageProcessInfo.getField(MessageProcessInfo.REPLY_MESSAGE_PROCESS_INFO_ID)).getReference();
        if (recMessageProcessInfo2 != null)
            return (MessageInfo)((ReferenceField)recMessageProcessInfo2.getField(MessageProcessInfo.MESSAGE_INFO_ID)).getReference();
        return null;
    }
754922
private HttpMessage convertOutboundMessage(Message message) {
        HttpMessage httpMessage;
        if (message instanceof HttpMessage) {
            httpMessage = (HttpMessage) message;
        } else {
            httpMessage = new HttpMessage(message);
        }
        return httpMessage;
    }
1183225
def message(self):
        """"""
        message = self.message_methods[self.session.method]()
        _LOGGER.debug(message)
        return message
25320
@Override
    public String getMessage() {
        String message = super.getMessage();

        if (message == null) {
            message = "";
        }

        if (hexdump != null) {
            return message + (message.length() > 0 ? " " : "") + "(Hexdump: "
                    + hexdump + ')';
        }

        return message;
    }
656660
public String getMessage()
    {
        String base = super.getMessage();

        if( null == base )
        {
            return "Failed to access " + m_variable + " environment variable";
        }

        return "Failed to access " + m_variable + " environment variable - " + base;
    }
321476
public String getDetailedMessage() {
        String prepend = getSourceInfoMessage();
        if (prepend == null || prepend.length() == 0) {
            return mMessage;
        }
        else {
            return prepend + ": " + mMessage;
        }
    }
1010354
public function getMessage()
    {
        /** @noinspection IsEmptyFunctionUsageInspection */
        /** @noinspection PhpUndefinedMethodInspection */
        if (!empty(parent::getMessage())) {
            /** @noinspection PhpUndefinedMethodInspection */
            return parent::getMessage();
        }

        return $this->_storage->loadMessage(
            $this
        );
    }
1333748
public String getMessage()
  {

    String lastMessage = super.getMessage();
    Throwable exception = m_exception;

    while (null != exception)
    {
      String nextMessage = exception.getMessage();

      if (null != nextMessage)
        lastMessage = nextMessage;

      if (exception instanceof TransformerException)
      {
        TransformerException se = (TransformerException) exception;
        Throwable prev = exception;

        exception = se.getException();

        if (prev == exception)
          break;
      }
      else
      {
        exception = null;
      }
    }

    return (null != lastMessage) ? lastMessage : "";
  }
1174846
private String getMessage(Object error) {
        if (error instanceof Throwable) {
            String message = ((Throwable) error).getMessage();

            if (message == null) {
                if (fullStack) {
                    message = error.getClass().getName();
                }
            }

            return message;
        } else if (error instanceof String) {
            return (String) error;
        } else if (error instanceof Integer) {
            return HttpResponseStatus.valueOf((Integer) error).reasonPhrase();
        } else if (error instanceof JsonObject) {
            return ((JsonObject) error).getString("message");
        } else if (error instanceof Map) {
            return (String) ((Map) error).get("message");
        } else {
            return error.toString();
        }
    }
509991
protected String getExpectedMessage() {
        StringBuilder syntax = new StringBuilder("<tag> ");
        syntax.append(getName());

        String args = getArgSyntax();
        if (args != null && args.length() > 0) {
            syntax.append(' ');
            syntax.append(args);
        }

        return syntax.toString();
    }
555629
public function getMessage() : ?string 
    {
        if ( ! $this->hasMessage()) {
            $this->setMessage($this->getDefaultMessage());
        }
        return $this->message;
    }
231210
private String getNestedMessage(Throwable e) {
        String localMsg = e.getMessage();
        if (Utils.isEmpty(localMsg)) {
            localMsg = e.getClass().getSimpleName();
        }
        Throwable embeddedException = e.getCause();
        if (embeddedException == null) {
            return localMsg;
        }
        return localMsg + ": " + getNestedMessage(embeddedException);
    }
1210008
@Override
    public String getMessage() {
        if (m_defaultMessage == null) {
            m_defaultMessage =
                    getLocalizedOrCode(m_bundleName,
                                       Server.getLocale(),
                                       m_code,
                                       m_values);
        }
        return m_defaultMessage;
    }
784240
public String getMessage() {
	StringBuffer buf = new StringBuffer();
	if (code != UNSPECIFIED) {
	    buf.append(getCodeExplanation(code));
	}
	if (customMessage != null) {
	    buf.append(" Custom message: ");
	    buf.append(customMessage);
	}
	if (code != UNSPECIFIED) {
	    buf.append(" (error code ").append(String.valueOf(code)).append(")");
	}
	if (cause != null) {
	    buf.append(" [Nested exception message: ");
	    buf.append(cause.getMessage());
	    buf.append("]");
	}
	return buf.toString();
    }
28607
@Override
    public MessageListener getMessageListener() throws JMSRuntimeException {

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "getMessageListener");

        MessageListener messageListener = null;

        try {
            messageListener = messageConsumer.getMessageListener();
        } catch (JMSException jmse) {
            throw (JMSRuntimeException) JmsErrorUtils.getJMS2Exception(jmse, JMSRuntimeException.class);
        } finally {
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                SibTr.exit(this, tc, "getMessageListener", messageListener);
        }

        return messageListener;
    }
874256
private CmsMessages getMessages() {

        if (m_messages == null) {
            if (m_cms != null) {
                m_messages = Messages.get().getBundle(OpenCms.getWorkplaceManager().getWorkplaceLocale(m_cms));
            } else {
                m_messages = Messages.get().getBundle();
            }
        }
        return m_messages;
    }
834285
protected String getMessage(String key, Object... args) {

        return Messages.get().getBundle().key(key, args);
    }