Class Sha1CollisionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class Sha1CollisionException
    extends java.lang.RuntimeException
    Thrown by SHA1 if it detects a likely hash collision.
    Since:
    4.7
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      • 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

      • Sha1CollisionException

        public Sha1CollisionException​(ObjectId id)
        Initialize with default message.
        Parameters:
        id - object whose contents are a hash collision.