repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.8
repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.8@org$apache$sling$api$resource$ResourceNotFoundException.java
file
oh
o
[]
package org.apache.sling.api.resource;
An Exception that causes Sling to return a 404 (NOT FOUND) status code. This
exception should not be caught but rather let be handed up the call stack up
to the Sling error and exception handling.
The advantage of using this exception over the
HttpServletResponse.sendError methods is that the request can
be aborted immediately all the way up in the call stack and that in addition
to the status code and an optional message a Throwable may be
supplied providing more information.
this(null, message, cause);