public class Message extends MessageWithAttributes
ServiceMessage.TimestampARG_ATTRIBUTE, DISABLE, ENABLE, PARSE_SERVICE_MESSAGES_INSIDE_TAG, SERVICE_MESSAGE_END, SERVICE_MESSAGE_START, TAGS_ATRRIBUTE, TAGS_SEPARATOR| Constructor and Description |
|---|
Message(@NotNull java.lang.String text,
@NotNull java.lang.String status,
@Nullable java.lang.String errDetails) |
Message(@NotNull java.lang.String text,
@NotNull java.lang.Throwable throwable)
Creates error message from the specified text and exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorDetails() |
java.lang.String |
getStatus() |
java.lang.String |
getText() |
void |
visit(@NotNull ServiceMessageVisitor visitor)
Depending on this service message type calls corresponding method in the supplied visitor.
|
addTag, asString, asString, asString, getArgument, getAttributes, getAttributeValue, getCreationTimestamp, getFlowId, getMessageName, getTags, parse, parse, parseSimple, setFlowId, setTimestamp, toString, validatepublic Message(@NotNull
@NotNull java.lang.String text,
@NotNull
@NotNull java.lang.String status,
@Nullable
@Nullable java.lang.String errDetails)
public Message(@NotNull
@NotNull java.lang.String text,
@NotNull
@NotNull java.lang.Throwable throwable)
text - error messagethrowable - exceptionpublic java.lang.String getStatus()
@RequiredAttribute(attributeName="text") public java.lang.String getText()
public java.lang.String getErrorDetails()
public void visit(@NotNull
@NotNull ServiceMessageVisitor visitor)
ServiceMessagevisit in class ServiceMessagevisitor - visitor