public class QuerySyntaxException extends SlingException
QuerySyntaxException
is thrown by the
ResourceResolver.findResources(String, String)
and
ResourceResolver.queryResources(String, String)
methods if the query
syntax is wrong or the requested query language is not available.Constructor and Description |
---|
QuerySyntaxException(String message,
String query,
String language) |
QuerySyntaxException(String message,
String query,
String language,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getLanguage() |
String |
getQuery() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2017 The Apache Software Foundation. All rights reserved.