Top Description Fields Constructors Methods
org.eclipse.jgit.api.errors

public Class PatchFormatException

extends GitAPIException
Class Inheritance
Imports
java.text.MessageFormat, java.util.List, org.eclipse.jgit.internal.JGitText, org.eclipse.jgit.patch.FormatError

Exception thrown when applying a patch fails due to an invalid format
Since
2.0

Field Summary

Modifier and TypeField and Description
private List<FormatError>
private static final long

Constructor Summary

AccessConstructor and Description
public
PatchFormatException(List<FormatError> errors)

Constructor for PatchFormatException

Method Summary

Modifier and TypeMethod and Description
public List<FormatError>

Returns:

all the errors where unresolved conflicts have been detected
getErrors
()

Get list of errors

Field Detail

errorsback to summary
private List<FormatError> errors
serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.api.errors.GitAPIException.serialVersionUID.

Constructor Detail

PatchFormatExceptionback to summary
public PatchFormatException(List<FormatError> errors)

Constructor for PatchFormatException

Parameters
errors:List<FormatError>

a java.util.List of FormatErrors

Method Detail

getErrorsback to summary
public List<FormatError> getErrors()

Get list of errors

Returns:List<FormatError>

all the errors where unresolved conflicts have been detected