Merge pull request #984 from eclipse/kth_issue983

[#983] Make issue message customizable
This commit is contained in:
Sebastian Zarnekow 2019-02-04 11:19:22 +01:00 committed by GitHub
commit f665cfa984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 });
}