| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.emf.ecore.EObject |
cause
Stores the ECore element causing the error.
|
private org.eclipse.emf.ecore.EStructuralFeature |
causingFeature
Stores the (sub-)feature of
cause. |
private int |
code
A code representing the message.
|
static int |
CODE_IGNORE
Defines the code used for messages which can be ignored.
|
| Constructor and Description |
|---|
Message(java.lang.String message,
Status status,
org.eclipse.emf.ecore.EObject cause,
org.eclipse.emf.ecore.EStructuralFeature causingFeature,
int code)
Creates a message object.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.EObject |
getCause()
Returns the cause of the message (in terms of the causing ECore element).
|
org.eclipse.emf.ecore.EStructuralFeature |
getCausingFeature()
Returns the causing feature (within
getCause()). |
int |
getCode()
Returns a code for the message.
|
boolean |
ignore()
Returns whether this message can be igored.
|
containsError, getDescription, getStatus, toStringpublic static final int CODE_IGNORE
private org.eclipse.emf.ecore.EObject cause
private org.eclipse.emf.ecore.EStructuralFeature causingFeature
cause.private int code
CODE_IGNOREpublic Message(java.lang.String message,
Status status,
org.eclipse.emf.ecore.EObject cause,
org.eclipse.emf.ecore.EStructuralFeature causingFeature,
int code)
message - the message textstatus - the message statuscause - the ECore element causing the messagecausingFeature - the feature within causecode - a numerical code representing the message (see CODE_IGNORE)public org.eclipse.emf.ecore.EObject getCause()
public org.eclipse.emf.ecore.EStructuralFeature getCausingFeature()
getCause()).public int getCode()
public boolean ignore()
true if it can be ignored, false elseCopyright © 2009 - 2018 SSE. All Rights Reserved.