public class TryCatch extends Object implements Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
TryCatch.Question |
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
catchExpr |
protected Expression |
tryExpr |
| Constructor and Description |
|---|
TryCatch(Expression tryExpr) |
TryCatch(Expression tryExpr,
Expression catchExpr) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Scope scope,
com.fasterxml.jackson.databind.JsonNode in,
Path path,
PathOutput output,
boolean requirePath) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyprotected Expression tryExpr
protected Expression catchExpr
public TryCatch(Expression tryExpr, Expression catchExpr)
public TryCatch(Expression tryExpr)
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) throws JsonQueryException
apply in interface ExpressionJsonQueryExceptionCopyright © 2025. All rights reserved.