Method | Description | |
---|---|---|
AstErrorMessage ( ISourceItem sourceItem, System.Error error ) : System.Collections.Generic |
Allocates an object providing error information relating to a portion of a source document.
|
|
AstErrorMessage ( ISourceItem sourceItem, System.Error error, IEnumerable |
Allocates an object providing error information relating to a portion of a source document.
|
|
MakeShallowCopy ( ISourceDocument targetDocument ) : ISourceErrorMessage |
Makes a copy of this error message, changing only Location and SourceLocation to come from the given source document. Returns the same instance if the given source document is the same as this.SourceLocation.SourceDocument.
|
Method | Description | |
---|---|---|
AstErrorMessage ( ISourceLocation sourceLocation, long errorCode, string messageKey, IEnumerable |
Allocates an object providing error information relating to a portion of a source document.
|
public AstErrorMessage ( ISourceItem sourceItem, System.Error error ) : System.Collections.Generic | ||
sourceItem | ISourceItem | The source item to which the error applies. |
error | System.Error | An enumeration code that corresponds to this error. The enumeration identifier is used as the message key and the enumeration value is used as the code. |
return | System.Collections.Generic |
public AstErrorMessage ( ISourceItem sourceItem, System.Error error, IEnumerable |
||
sourceItem | ISourceItem | The source item to which the error applies. |
error | System.Error | An enumeration code that corresponds to this error. The enumeration identifier is used as the message key and the enumeration value is used as the code. |
relatedLocations | IEnumerable |
Zero ore more locations that are related to this error. |
return | System.Collections.Generic |
public MakeShallowCopy ( ISourceDocument targetDocument ) : ISourceErrorMessage | ||
targetDocument | ISourceDocument | The document to which the resulting error message must refer. |
return | ISourceErrorMessage |