|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.basex.query.QueryException
public final class QueryException
This class indicates exceptions during query parsing or evaluation.
| Field Summary | |
|---|---|
Iter |
iter
Error items. |
| Constructor Summary | |
|---|---|
QueryException(Object[] s,
Object... e)
Constructor. |
|
QueryException(Object s,
Object... e)
Constructor. |
|
| Method Summary | |
|---|---|
String |
code()
Returns the error code. |
int |
col()
Returns the error column. |
StringList |
complete()
Possible completions. |
void |
complete(InputParser qp,
StringList comp)
Sets code completions. |
String |
extended()
Returns an extended error message. |
String |
getMessage()
|
int |
line()
Returns the error line. |
void |
pos(InputParser parser)
Sets the error position. |
String |
simple()
Returns the simple error message. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Iter iter
| Constructor Detail |
|---|
public QueryException(Object s,
Object... e)
s - messagee - message extension
public QueryException(Object[] s,
Object... e)
s - xquery errore - error arguments| Method Detail |
|---|
public String code()
public int col()
public int line()
public StringList complete()
public void pos(InputParser parser)
parser - parser
public void complete(InputParser qp,
StringList comp)
qp - query parsercomp - completionspublic String simple()
public String extended()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||