Package org.eclipse.jgit.util.sha1
Class Sha1CollisionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jgit.util.sha1.Sha1CollisionException
-
- All Implemented Interfaces:
Serializable
public class Sha1CollisionException extends RuntimeException
Thrown bySHA1
if it detects a likely hash collision.- Since:
- 4.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Sha1CollisionException(ObjectId id)
Initialize with default message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
Sha1CollisionException
public Sha1CollisionException(ObjectId id)
Initialize with default message.- Parameters:
id
- object whose contents are a hash collision.
-
-