Class CorruptObjectException

    • Constructor Detail

      • CorruptObjectException

        public CorruptObjectException​(AnyObjectId id,
                                      String why)
        Construct a CorruptObjectException for reporting a problem specified object id
        Parameters:
        id -
        why -
      • CorruptObjectException

        public CorruptObjectException​(ObjectId id,
                                      String why)
        Construct a CorruptObjectException for reporting a problem specified object id
        Parameters:
        id -
        why -
      • CorruptObjectException

        public CorruptObjectException​(String why)
        Construct a CorruptObjectException for reporting a problem not associated with a specific object id.
        Parameters:
        why -
      • CorruptObjectException

        public CorruptObjectException​(String why,
                                      Throwable cause)
        Construct a CorruptObjectException for reporting a problem not associated with a specific object id.
        Parameters:
        why - message describing the corruption.
        cause - optional root cause exception
        Since:
        3.4