Package org.eclipse.jgit.api.errors
Class PatchFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.api.errors.GitAPIException
-
- org.eclipse.jgit.api.errors.PatchFormatException
-
- All Implemented Interfaces:
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
-
-
Constructor Summary
Constructors Constructor Description PatchFormatException(List<FormatError> errors)
Constructor for PatchFormatException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
PatchFormatException
public PatchFormatException(List<FormatError> errors)
Constructor for PatchFormatException- Parameters:
errors
- aList
ofFormatError
s
-
-
Method Detail
-
getErrors
public List<FormatError> getErrors()
Get list of errors- Returns:
- all the errors where unresolved conflicts have been detected
-
-