|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceError
An error found in the parse tree.
Field Summary | |
---|---|
static SourceError[] |
EMPTY_ARRAY
|
Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement |
---|
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT |
Method Summary | |
---|---|
int |
getErrorCategory()
Gets the error category of this error. |
short |
getErrorCode()
Gets the numeric code describing this error. |
int |
getErrorData0()
Deprecated. Use getErrorIntData0(); |
int |
getErrorData1()
Deprecated. Use getErrorIntData1(); |
int |
getErrorIntData0()
Some error codes are actually more general categories. |
int |
getErrorIntData1()
Some error codes are actually more general categories. |
java.lang.String |
getErrorMessage()
|
java.lang.Object |
getErrorRefData(int n)
Gets the reference data at the specified index. |
java.lang.Object |
getErrorRefData0()
|
java.lang.Object |
getErrorRefData1()
|
int |
getErrorSeverity()
Gets the severity rating of this error. |
SourceElement |
getErrorSymbol()
This needs to be a separate method because all errors are currently constructed off of the root and not off of the syntactically enclosing element. |
short |
getErrorToken()
|
Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement |
---|
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf |
Field Detail |
---|
static final SourceError[] EMPTY_ARRAY
Method Detail |
---|
short getErrorCode()
JavaErrors
int getErrorSeverity()
int getErrorCategory()
short getErrorToken()
java.lang.String getErrorMessage()
@Deprecated int getErrorData0()
@Deprecated int getErrorData1()
int getErrorIntData0()
int getErrorIntData1()
java.lang.Object getErrorRefData0()
java.lang.Object getErrorRefData1()
java.lang.Object getErrorRefData(int n)
n
- 0-based.
SourceElement getErrorSymbol()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |