Class NotesMergeConflictException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotesMergeConflictException
    extends java.io.IOException
    This exception will be thrown from the NoteMerger when a conflict on Notes content is found during merge.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String name​(NonNoteEntry e)  
      private static java.lang.String noteData​(Note n)  
      private static java.lang.String noteOn​(Note base, Note ours, Note theirs)  
      • 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

      • NotesMergeConflictException

        public NotesMergeConflictException​(Note base,
                                           Note ours,
                                           Note theirs)
        Construct a NotesMergeConflictException for the specified base, ours and theirs note versions.
        Parameters:
        base - note version
        ours - note version
        theirs - note version
      • NotesMergeConflictException

        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 - version of the root note tree
        ours - version of the root note tree
        theirs - version of the root note tree
    • Method Detail

      • noteOn

        private static java.lang.String noteOn​(Note base,
                                               Note ours,
                                               Note theirs)
      • noteData

        private static java.lang.String noteData​(Note n)
      • name

        private static java.lang.String name​(NonNoteEntry e)