Class PatchFormatException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PatchFormatException
    extends GitAPIException
    Exception thrown when applying a patch fails due to an invalid format
    Since:
    2.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<FormatError> getErrors()
      Get list of errors
      • 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

      • PatchFormatException

        public PatchFormatException​(java.util.List<FormatError> errors)
        Constructor for PatchFormatException
        Parameters:
        errors - a List of FormatErrors
    • Method Detail

      • getErrors

        public java.util.List<FormatError> getErrors()
        Get list of errors
        Returns:
        all the errors where unresolved conflicts have been detected