Top Description Fields Constructors Methods
org.eclipse.jgit.notes

public Class NotesMergeConflictException

extends IOException
Class Inheritance
Imports
java.io.IOException, java.text.MessageFormat, org.eclipse.jgit.internal.JGitText

This exception will be thrown from the org.eclipse.jgit.notes.NoteMerger when a conflict on Notes content is found during merge.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NotesMergeConflictException(Note
note version
base
,
Note
note version
ours
,
Note
note version
theirs
)

Construct a NotesMergeConflictException for the specified base, ours and theirs note versions.

public
NotesMergeConflictException(NonNoteEntry
version of the root note tree
base
,
NonNoteEntry
version of the root note tree
ours
,
NonNoteEntry
version of the root note tree
theirs
)

Constructs a NotesMergeConflictException for the specified base, ours and theirs versions of the root note tree.

Method Summary

Modifier and TypeMethod and Description
private static String
private static String
private static String
noteOn(Note base, Note ours, Note theirs)

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

NotesMergeConflictExceptionback to summary
public NotesMergeConflictException(Note base, Note ours, Note theirs)

Construct a NotesMergeConflictException for the specified base, ours and theirs note versions.

Parameters
base:Note

note version

ours:Note

note version

theirs:Note

note version

NotesMergeConflictExceptionback to summary
public NotesMergeConflictException(NonNoteEntry base, NonNoteEntry ours, NonNoteEntry theirs)

Constructs a NotesMergeConflictException for the specified base, ours and theirs versions of the root note tree.

Parameters
base:NonNoteEntry

version of the root note tree

ours:NonNoteEntry

version of the root note tree

theirs:NonNoteEntry

version of the root note tree

Method Detail

nameback to summary
private static String name(NonNoteEntry e)
noteDataback to summary
private static String noteData(Note n)
noteOnback to summary
private static String noteOn(Note base, Note ours, Note theirs)