Class MissingObjectException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingObjectException
    extends java.io.IOException
    An expected object is missing.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ObjectId getObjectId()
      Get the ObjectId that was not found
      • 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

      • MissingObjectException

        public MissingObjectException​(ObjectId id,
                                      java.lang.String type)
        Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.
        Parameters:
        id - SHA-1
        type - object type
      • MissingObjectException

        public MissingObjectException​(ObjectId id,
                                      int type)
        Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.
        Parameters:
        id - SHA-1
        type - object type
      • MissingObjectException

        public MissingObjectException​(AbbreviatedObjectId id,
                                      int type)
        Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.
        Parameters:
        id - SHA-1
        type - object type
    • Method Detail

      • getObjectId

        public ObjectId getObjectId()
        Get the ObjectId that was not found
        Returns:
        the ObjectId that was not found