# Uses of Class
org.apache.sling.api.SlingException

Packages that use SlingException
Package
Description
org.apache.sling.api
org.apache.sling.api.auth
org.apache.sling.api.request
org.apache.sling.api.resource
org.apache.sling.api.scripting

## Uses of SlingException in org.apache.sling.api

Subclasses of SlingException in org.apache.sling.api
Modifier and Type
Class
Description
`class`
`SlingIOException`
The `SlingIOException` is a runtime exception wrapper for the Java `IOException`.
`class`
`SlingServletException`
The `SlingServletException` is a runtime exception wrapper for the Servlet API `ServletException`.

## Uses of SlingException in org.apache.sling.api.auth

Subclasses of SlingException in org.apache.sling.api.auth
Modifier and Type
Class
Description
`class`
`NoAuthenticationHandlerException`
The `NoAuthenticationHandlerException` is thrown to indicate that the `Authenticator.login(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)` method could not find a way to authenticate the request user.

## Uses of SlingException in org.apache.sling.api.request

Subclasses of SlingException in org.apache.sling.api.request
Modifier and Type
Class
Description
`class`
`RecursionTooDeepException`
The `RecursionTooDeepException` is thrown by the Sling implementation if to many recursive content inclusions take place.
`class`
`TooManyCallsException`
The `TooManyCallsException` is thrown by the Sling implementation if to many inclusions have been called for during a single request.

## Uses of SlingException in org.apache.sling.api.resource

Subclasses of SlingException in org.apache.sling.api.resource
Modifier and Type
Class
Description
`class`
`QuerySyntaxException`
The `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.
`class`
`ResourceNotFoundException`
An Exception that causes Sling to return a 404 (NOT FOUND) status code.

## Uses of SlingException in org.apache.sling.api.scripting

Subclasses of SlingException in org.apache.sling.api.scripting
Modifier and Type
Class
Description
`class`
`InvalidServiceFilterSyntaxException`
Thrown when an invalid service filter is used
`class`
`ScriptEvaluationException`
The `ScriptEvaluationException` is thrown by the `SlingScript.eval(SlingBindings)` method if an error occurrs evaluating the script.