Class RefLogNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RefLogNotFoundException
    extends VersionStoreException
    Exception thrown when a reflog is not present in the store.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RefLogNotFoundException forRefLogId​(java.lang.String refLogId)
      Create a RefLogNotFoundException instance based on the provided reference.
      • 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

      • RefLogNotFoundException

        public RefLogNotFoundException​(java.lang.String message)
      • RefLogNotFoundException

        public RefLogNotFoundException​(java.lang.String message,
                                       java.lang.Throwable cause)
    • Method Detail

      • forRefLogId

        @Nonnull
        @Nonnull
        public static RefLogNotFoundException forRefLogId​(@Nonnull @Nonnull
                                                          java.lang.String refLogId)
        Create a RefLogNotFoundException instance based on the provided reference.
        Parameters:
        refLogId - the refLogId string not found in the store
        Returns:
        a RefLogNotFoundException instance
        Throws:
        java.lang.NullPointerException - if refLogId is null.