Class MissingObjectException

    • Constructor Detail

      • MissingObjectException

        public MissingObjectException​(ObjectId id,
                                      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