| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03  | 
|||||||||
| 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, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
| Field Detail | 
|---|
static final SourceError[] EMPTY_ARRAY
| Method Detail | 
|---|
short getErrorCode()
JavaErrorsint 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()
For example, if this error happens in a class's body, the error symbol returned will be a SourceClass.
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||