Package org.apache.sling.api.resource
Class QuerySyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.api.SlingException
-
- org.apache.sling.api.resource.QuerySyntaxException
-
- All Implemented Interfaces:
java.io.Serializable
public class QuerySyntaxException extends SlingException
TheQuerySyntaxException
is thrown by theResourceResolver.findResources(String, String)
andResourceResolver.queryResources(String, String)
methods if the query syntax is wrong or the requested query language is not available.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuerySyntaxException(java.lang.String message, java.lang.String query, java.lang.String language)
QuerySyntaxException(java.lang.String message, java.lang.String query, java.lang.String language, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLanguage()
java.lang.String
getQuery()
-