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:
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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<FormatError>
errors
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description PatchFormatException(java.util.List<FormatError> errors)
Constructor for PatchFormatException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<FormatError>
getErrors()
Get list of errors
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
errors
private java.util.List<FormatError> errors
-
-
Constructor Detail
-
PatchFormatException
public PatchFormatException(java.util.List<FormatError> errors)
Constructor for PatchFormatException- Parameters:
errors
- aList
ofFormatError
s
-
-
Method Detail
-
getErrors
public java.util.List<FormatError> getErrors()
Get list of errors- Returns:
- all the errors where unresolved conflicts have been detected
-
-