org.drools.compiler.compiler
Class AnnotationDeclarationError
java.lang.Object
org.drools.compiler.compiler.BaseKnowledgeBuilderResultImpl
org.drools.compiler.compiler.DroolsError
org.drools.compiler.compiler.AnnotationDeclarationError
- All Implemented Interfaces:
- org.kie.internal.builder.KnowledgeBuilderError, org.kie.internal.builder.KnowledgeBuilderResult
public class AnnotationDeclarationError
- extends DroolsError
|
Method Summary |
int[] |
getLines()
Returns the lines of the error in the source file |
String |
getMessage()
Classes that extend this must provide a printable message,
which summarises the error. |
String |
getNamespace()
Default implementation (overriden where possible and meaningful) returning just an empty string |
String |
toString()
|
| Methods inherited from interface org.kie.internal.builder.KnowledgeBuilderResult |
getResource |
AnnotationDeclarationError
public AnnotationDeclarationError(AnnotationDescr annotationDescr,
String errorMessage)
getNamespace
public String getNamespace()
- Description copied from class:
DroolsError
- Default implementation (overriden where possible and meaningful) returning just an empty string
- Overrides:
getNamespace in class DroolsError
- Returns:
getLines
public int[] getLines()
- Description copied from class:
BaseKnowledgeBuilderResultImpl
- Returns the lines of the error in the source file
- Specified by:
getLines in interface org.kie.internal.builder.KnowledgeBuilderResult- Specified by:
getLines in class BaseKnowledgeBuilderResultImpl
getMessage
public String getMessage()
- Description copied from class:
BaseKnowledgeBuilderResultImpl
- Classes that extend this must provide a printable message,
which summarises the error.
- Specified by:
getMessage in interface org.kie.internal.builder.KnowledgeBuilderResult- Specified by:
getMessage in class BaseKnowledgeBuilderResultImpl
toString
public String toString()
- Overrides:
toString in class BaseKnowledgeBuilderResultImpl
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.