Class TemporaryPersistenceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TemporaryPersistenceException
    extends org.apache.sling.api.resource.PersistenceException
    This exceptions indicates errors, which might be temporary and for which a retry with the same parameters could work.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TemporaryPersistenceException​(java.lang.String message, java.lang.Exception e)  
      TemporaryPersistenceException​(java.lang.String msg, java.lang.Throwable cause, java.lang.String resourcePath, java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TemporaryPersistenceException

        public TemporaryPersistenceException​(java.lang.String message,
                                             java.lang.Exception e)
      • TemporaryPersistenceException

        public TemporaryPersistenceException​(java.lang.String msg,
                                             java.lang.Throwable cause,
                                             java.lang.String resourcePath,
                                             java.lang.String propertyName)