| java.lang.Object org.drools.compiler.DroolsError org.drools.lang.dsl.MappingError
MappingError | public class MappingError extends DroolsError (Code) | | MappingError
A class to represent errors found in a DSL mapping
author: Edson Tirelli author: Created: 11/04/2006 |
Constructor Summary | |
public | MappingError(int errorCode, int template, int offset, String token, String templateText, int line) |
ERROR_INVALID_TOKEN | final public static int ERROR_INVALID_TOKEN(Code) | | |
ERROR_UNDECLARED_TOKEN | final public static int ERROR_UNDECLARED_TOKEN(Code) | | |
ERROR_UNMATCHED_BRACES | final public static int ERROR_UNMATCHED_BRACES(Code) | | |
ERROR_UNUSED_TOKEN | final public static int ERROR_UNUSED_TOKEN(Code) | | |
TEMPLATE_NATURAL | final public static int TEMPLATE_NATURAL(Code) | | |
TEMPLATE_TARGET | final public static int TEMPLATE_TARGET(Code) | | |
TEMPLATE_UNKNOWN | final public static int TEMPLATE_UNKNOWN(Code) | | |
MappingError | public MappingError(int errorCode, int template, int offset, String token, String templateText, int line)(Code) | | |
getErrorCode | public int getErrorCode()(Code) | | Returns this error code
|
getErrorLines | public int[] getErrorLines()(Code) | | |
getOffset | public int getOffset()(Code) | | the offset |
getTemplate | public int getTemplate()(Code) | | the template |
getTemplateText | public String getTemplateText()(Code) | | the original content. |
|
|