public class ParserError extends DroolsError
| Constructor and Description |
|---|
ParserError(org.kie.api.io.Resource resource,
String message,
int row,
int col) |
ParserError(org.kie.api.io.Resource resource,
String message,
int row,
int col,
String namespace) |
ParserError(String message,
int row,
int col) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCol() |
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
|
int |
getRow() |
String |
toString() |
getSeverityasMessage, equals, getResource, hashCode, isError, setResourcepublic ParserError(String message, int row, int col)
public ParserError(org.kie.api.io.Resource resource,
String message,
int row,
int col)
public String getMessage()
BaseKnowledgeBuilderResultImplgetMessage in interface org.kie.internal.builder.KnowledgeBuilderResultgetMessage in class BaseKnowledgeBuilderResultImplpublic String getNamespace()
DroolsErrorgetNamespace in class DroolsErrorpublic int[] getLines()
BaseKnowledgeBuilderResultImplgetLines in interface org.kie.internal.builder.KnowledgeBuilderResultgetLines in class BaseKnowledgeBuilderResultImplpublic int getCol()
public int getRow()
public String toString()
toString in class BaseKnowledgeBuilderResultImplCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.