Package org.kie.dmn.api.core
Interface DMNMessage
- All Superinterfaces:
InternalMessage,Message
A general message interface for all DMN related messages
raised during compilation and execution.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.kie.api.builder.Message
Message.Level -
Method Summary
Modifier and TypeMethodDescriptionIf this message relates to a java exception, this method returns a reference to the actual Throwable object.If this message relates to a FEEL compilation or runtime event, this method returns the reference to the actual FEEL event.Deprecated.Returns a classification of the event that raised the message.Deprecated.useMessage.getLevel()instead.Returns the ID of the model element to which this message relates to or null if this message does not refer to a specific model element.Returns the actual model element reference to which this message relates to or null if this message does not refer to a specific model element.Methods inherited from interface org.kie.internal.builder.InternalMessage
getKieBaseName, setKieBaseName
-
Method Details
-
getSeverity
Deprecated.useMessage.getLevel()instead.Returns the severity of the message. Either TRACE, INFO, WARN or ERROR -
getMessage
Deprecated.useMessage.getText()instead.Returns a human readable text with the explanation of the event that raised the message. -
getMessageType
DMNMessageType getMessageType()Returns a classification of the event that raised the message.- Returns:
-
getSourceId
String getSourceId()Returns the ID of the model element to which this message relates to or null if this message does not refer to a specific model element.- Returns:
-
getSourceReference
Object getSourceReference()Returns the actual model element reference to which this message relates to or null if this message does not refer to a specific model element.- Returns:
-
getFeelEvent
FEELEvent getFeelEvent()If this message relates to a FEEL compilation or runtime event, this method returns the reference to the actual FEEL event.- Returns:
-
getException
Throwable getException()If this message relates to a java exception, this method returns a reference to the actual Throwable object.- Returns:
-
Message.getText()instead.