Class PreconditionViolatedPersistenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.sling.api.resource.PersistenceException
-
- org.apache.sling.servlets.post.exceptions.PreconditionViolatedPersistenceException
-
- All Implemented Interfaces:
Serializable
public class PreconditionViolatedPersistenceException extends org.apache.sling.api.resource.PersistenceException
Indicates that the input does not meet necessary precondition. In that case the client should redo the request with a changed input.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreconditionViolatedPersistenceException(String msg)
PreconditionViolatedPersistenceException(String message, Exception e)
PreconditionViolatedPersistenceException(String msg, Throwable cause, String resourcePath, String propertyName)
-
Method Summary
-
Methods inherited from class org.apache.sling.api.resource.PersistenceException
getPropertyName, getResourcePath
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PreconditionViolatedPersistenceException
public PreconditionViolatedPersistenceException(String message, Exception e)
-
PreconditionViolatedPersistenceException
public PreconditionViolatedPersistenceException(String msg, Throwable cause, String resourcePath, String propertyName)
-
PreconditionViolatedPersistenceException
public PreconditionViolatedPersistenceException(String msg)
-
-