test_class.declarator: KNOWN_CORRELATION_ID = UUID.randomUUID().toString()
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_CORRELATION_ID = UUID.randomUUID().toString();
test_class.type: String
test_class.var_name: KNOWN_CORRELATION_ID
test_class.declarator: KNOWN_JSON_REPRESENTATION = JsonObject.newBuilder()
              .set(DittoRuntimeException.JsonFields.ERROR_CODE,
                      AcknowledgementRequestDuplicateCorrelationIdException.ERROR_CODE)
              .set(DittoRuntimeException.JsonFields.MESSAGE,
                      MessageFormat.format(AcknowledgementRequestDuplicateCorrelationIdException.MESSAGE_TEMPLATE,
                              KNOWN_CORRELATION_ID))
              .set(DittoRuntimeException.JsonFields.DESCRIPTION,
                      AcknowledgementRequestDuplicateCorrelationIdException.DEFAULT_DESCRIPTION)
              .set(DittoRuntimeException.JsonFields.STATUS, HttpStatusCode.CONFLICT.toInt())
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON_REPRESENTATION = JsonObject.newBuilder()
              .set(DittoRuntimeException.JsonFields.ERROR_CODE,
                      AcknowledgementRequestDuplicateCorrelationIdException.ERROR_CODE)
              .set(DittoRuntimeException.JsonFields.MESSAGE,
                      MessageFormat.format(AcknowledgementRequestDuplicateCorrelationIdException.MESSAGE_TEMPLATE,
                              KNOWN_CORRELATION_ID))
              .set(DittoRuntimeException.JsonFields.DESCRIPTION,
                      AcknowledgementRequestDuplicateCorrelationIdException.DEFAULT_DESCRIPTION)
              .set(DittoRuntimeException.JsonFields.STATUS, HttpStatusCode.CONFLICT.toInt())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON_REPRESENTATION
test_class.file: signals/acks/base/src/test/java/org/eclipse/ditto/signals/acks/base/AcknowledgementRequestDuplicateCorrelationIdExceptionTest.java
test_class.identifier: AcknowledgementRequestDuplicateCorrelationIdExceptionTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final DittoHeaders dittoHeaders = DittoHeaders.newBuilder().correlationId(KNOWN_CORRELATION_ID).build();
          final AcknowledgementRequestDuplicateCorrelationIdException underTest =
                  AcknowledgementRequestDuplicateCorrelationIdException.newBuilder(KNOWN_CORRELATION_ID)
                          .dittoHeaders(dittoHeaders).build();
  
          final JsonObject actual = underTest.toJson();
  
          assertThat(actual).isEqualTo(KNOWN_JSON_REPRESENTATION);
      }
test_case.class_method_signature: AcknowledgementRequestDuplicateCorrelationIdExceptionTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: build correlationId newBuilder build dittoHeaders newBuilder toJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: ERROR_CODE = ERROR_CODE_PREFIX + "request.duplicate.correlation-id"
focal_class.modifier: public static final
focal_class.original_string: public static final String ERROR_CODE = ERROR_CODE_PREFIX + "request.duplicate.correlation-id";
focal_class.type: String
focal_class.var_name: ERROR_CODE
focal_class.declarator: MESSAGE_TEMPLATE = "Correlation-id <{0}> for acknowledgement request was already used very " +
              "recently."
focal_class.modifier: static final
focal_class.original_string: static final String MESSAGE_TEMPLATE = "Correlation-id <{0}> for acknowledgement request was already used very " +
              "recently.";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE
focal_class.declarator: DEFAULT_DESCRIPTION =
              "Please provide unique correlation-ids when requesting acknowledgements, at least unique within at least " +
                      "several minutes."
focal_class.modifier: static final
focal_class.original_string: static final String DEFAULT_DESCRIPTION =
              "Please provide unique correlation-ids when requesting acknowledgements, at least unique within at least " +
                      "several minutes.";
focal_class.type: String
focal_class.var_name: DEFAULT_DESCRIPTION
focal_class.declarator: serialVersionUID = -8902347821367123893L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -8902347821367123893L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: signals/acks/base/src/main/java/org/eclipse/ditto/signals/acks/base/AcknowledgementRequestDuplicateCorrelationIdException.java
focal_class.identifier: AcknowledgementRequestDuplicateCorrelationIdException
focal_class.interfaces: implements AcknowledgementException
focal_class.class_method_signature: AcknowledgementRequestDuplicateCorrelationIdException.AcknowledgementRequestDuplicateCorrelationIdException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.full_signature: private  AcknowledgementRequestDuplicateCorrelationIdException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.identifier: AcknowledgementRequestDuplicateCorrelationIdException
focal_class.modifiers: private
focal_class.parameters: (final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.signature:  AcknowledgementRequestDuplicateCorrelationIdException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.class_method_signature: AcknowledgementRequestDuplicateCorrelationIdException.newBuilder(final String correlationId)
focal_class.full_signature: public static AcknowledgementRequestDuplicateCorrelationIdException.Builder newBuilder(final String correlationId)
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: (final String correlationId)
focal_class.return: AcknowledgementRequestDuplicateCorrelationIdException.Builder
focal_class.signature: AcknowledgementRequestDuplicateCorrelationIdException.Builder newBuilder(final String correlationId)
focal_class.class_method_signature: AcknowledgementRequestDuplicateCorrelationIdException.fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static AcknowledgementRequestDuplicateCorrelationIdException fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.return: AcknowledgementRequestDuplicateCorrelationIdException
focal_class.signature: AcknowledgementRequestDuplicateCorrelationIdException fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.superclass: extends DittoRuntimeException
focal_method.body: public static AcknowledgementRequestDuplicateCorrelationIdException.Builder newBuilder(final String correlationId) {
          return new AcknowledgementRequestDuplicateCorrelationIdException.Builder(correlationId);
      }
focal_method.class_method_signature: AcknowledgementRequestDuplicateCorrelationIdException.newBuilder(final String correlationId)
focal_method.full_signature: public static AcknowledgementRequestDuplicateCorrelationIdException.Builder newBuilder(final String correlationId)
focal_method.identifier: newBuilder
focal_method.modifiers: public static
focal_method.parameters: (final String correlationId)
focal_method.return: AcknowledgementRequestDuplicateCorrelationIdException.Builder
focal_method.signature: AcknowledgementRequestDuplicateCorrelationIdException.Builder newBuilder(final String correlationId)