MCPcopy Create free account
hub / github.com/BaseXdb/basex / get

Method get

basex-core/src/main/java/org/basex/query/QueryError.java:1466–1469  ·  view source on GitHub ↗

Returns a query exception. If InputInfo#internal() returns true, a static error instance (QueryException#ERROR) will be returned. @param info input info (can be null) @param ext extended info @return query exception

(final InputInfo info, final Object... ext)

Source from the content-addressed store, hash-verified

1464 * @return query exception
1465 */
1466 public QueryException get(final InputInfo info, final Object... ext) {
1467 return info != null && info.internal() ? QueryException.ERROR :
1468 new QueryException(info, this, ext);
1469 }
1470
1471 /**
1472 * Returns a query I/O exception without {@link InputInfo} reference.

Callers 2

getIOMethod · 0.95
evalMethod · 0.95

Calls 4

getMethod · 0.95
qnameMethod · 0.95
internalMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected