test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/ConflictExceptionTest.java
test_class.identifier: ConflictExceptionTest
test_case.body: @Test
      public void type() {
          ConflictException e = new ConflictException("conflict");
          CommitFailedException cfe = e.asCommitFailedException();
          assertEquals(CommitFailedException.MERGE, cfe.getType());
      }
test_case.class_method_signature: ConflictExceptionTest.type()
test_case.full_signature: @Test public void type()
test_case.identifier: type
test_case.invocations: asCommitFailedException assertEquals getType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void type()
focal_class.declarator: serialVersionUID = 1418838561903727231L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1418838561903727231L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: conflictRevisions
focal_class.modifier: private final
focal_class.original_string: private final Set<Revision> conflictRevisions;
focal_class.type: Set<Revision>
focal_class.var_name: conflictRevisions
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/ConflictException.java
focal_class.identifier: ConflictException
focal_class.class_method_signature: ConflictException.ConflictException(@NotNull String message,
                        @NotNull Revision conflictRevision)
focal_class.full_signature:   ConflictException(@NotNull String message,
                        @NotNull Revision conflictRevision)
focal_class.identifier: ConflictException
focal_class.parameters: (@NotNull String message,
                        @NotNull Revision conflictRevision)
focal_class.signature:  ConflictException(@NotNull String message,
                        @NotNull Revision conflictRevision)
focal_class.class_method_signature: ConflictException.ConflictException(@NotNull String message,
                        @NotNull Set<Revision> conflictRevisions)
focal_class.full_signature:   ConflictException(@NotNull String message,
                        @NotNull Set<Revision> conflictRevisions)
focal_class.identifier: ConflictException
focal_class.parameters: (@NotNull String message,
                        @NotNull Set<Revision> conflictRevisions)
focal_class.signature:  ConflictException(@NotNull String message,
                        @NotNull Set<Revision> conflictRevisions)
focal_class.class_method_signature: ConflictException.ConflictException(@NotNull String message)
focal_class.full_signature:   ConflictException(@NotNull String message)
focal_class.identifier: ConflictException
focal_class.parameters: (@NotNull String message)
focal_class.signature:  ConflictException(@NotNull String message)
focal_class.class_method_signature: ConflictException.asCommitFailedException()
focal_class.full_signature:  CommitFailedException asCommitFailedException()
focal_class.identifier: asCommitFailedException
focal_class.parameters: ()
focal_class.return: CommitFailedException
focal_class.signature: CommitFailedException asCommitFailedException()
focal_class.class_method_signature: ConflictException.getConflictRevisions()
focal_class.full_signature: @NotNull Iterable<Revision> getConflictRevisions()
focal_class.identifier: getConflictRevisions
focal_class.modifiers: @NotNull
focal_class.parameters: ()
focal_class.return: Iterable<Revision>
focal_class.signature: Iterable<Revision> getConflictRevisions()
focal_class.superclass: extends Exception
focal_method.body: CommitFailedException asCommitFailedException() {
          if (!conflictRevisions.isEmpty()) {
              return new FailedWithConflictException(conflictRevisions, getMessage(), this);
          } else {
              return new CommitFailedException(MERGE, 1,
                      "Failed to merge changes to the underlying store", this);
          }
      }
focal_method.class_method_signature: ConflictException.asCommitFailedException()
focal_method.full_signature:  CommitFailedException asCommitFailedException()
focal_method.identifier: asCommitFailedException
focal_method.invocations: isEmpty getMessage
focal_method.parameters: ()
focal_method.return: CommitFailedException
focal_method.signature: CommitFailedException asCommitFailedException()