mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
Merge pull request #984 from eclipse/kth_issue983
[#983] Make issue message customizable
This commit is contained in:
commit
f665cfa984
1 changed files with 4 additions and 1 deletions
|
@ -176,7 +176,10 @@ public class CompositeEValidator implements EValidator {
|
|||
return result;
|
||||
}
|
||||
|
||||
private Diagnostic createExceptionDiagnostic(String message, Object source, Throwable t) {
|
||||
/**
|
||||
* @since 2.17
|
||||
*/
|
||||
protected Diagnostic createExceptionDiagnostic(String message, Object source, Throwable t) {
|
||||
return new BasicDiagnostic(Diagnostic.ERROR, source.toString(), 0, message, new Object[] { t });
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue