01: package org.drools.rule.builder.dialect.java;
02:
03: import org.drools.compiler.DroolsError;
04:
05: public class JavaDialectError extends DroolsError {
06: private String message;
07: private static final int[] line = new int[0];
08:
09: public JavaDialectError(final String message) {
10: super ();
11: this .message = message;
12: }
13:
14: public int[] getErrorLines() {
15: return line;
16: }
17:
18: public String getMessage() {
19: return this .message;
20: }
21:
22: public String toString() {
23: return "[JavaDialectError message='" + this .message + "']";
24: }
25:
26: }
|