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

Method matches

basex-core/src/main/java/org/basex/query/expr/Try.java:122–127  ·  view source on GitHub ↗

Returns a matching catch clause. @param ex query exception @return catch clause or null

(final QueryException ex)

Source from the content-addressed store, hash-verified

120 * @return catch clause or {@code null}
121 */
122 private Catch matches(final QueryException ex) {
123 for(final Catch ctch : catches) {
124 if(ctch.matches(ex)) return ctch;
125 }
126 return null;
127 }
128
129 @Override
130 public VarUsage count(final Var var) {

Callers 2

optimizeMethod · 0.95
valueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected