Class MappingError

  • All Implemented Interfaces:
    org.kie.internal.builder.KnowledgeBuilderError, org.kie.internal.builder.KnowledgeBuilderResult

    public class MappingError
    extends DroolsError
    MappingError A class to represent errors found in a DSL mapping Created: 11/04/2006
    • Constructor Detail

      • MappingError

        public MappingError​(int errorCode,
                            int template,
                            int offset,
                            String token,
                            String templateText,
                            int line)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Returns this error code
        Returns:
      • getOffset

        public int getOffset()
        Returns:
        the offset
      • getTemplate

        public int getTemplate()
        Returns:
        the template
      • getTemplateText

        public String getTemplateText()
        Returns:
        the original content.