You cannot write to a message as it is in read-only mode.
public static const qa_int COMMON_MSG_NOT_WRITEABLE_ERROR;