test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/exceptions/DittoHeaderInvalidExceptionTest.java
test_class.identifier: DittoHeaderInvalidExceptionTest
test_case.body: @Test
      public void buildFromCustomMessage() {
          final String customMessage = "theCustomMessage";
  
          final DittoHeaderInvalidException headerInvalidException =
                  DittoHeaderInvalidException.newCustomMessageBuilder(customMessage)
                          .build();
  
          assertThat(headerInvalidException.getMessage()).isEqualTo(customMessage);
          assertThat(headerInvalidException.getDescription()).hasValue(
                  "Verify that the header has the correct syntax and try again.");
      }
test_case.class_method_signature: DittoHeaderInvalidExceptionTest.buildFromCustomMessage()
test_case.full_signature: @Test public void buildFromCustomMessage()
test_case.identifier: buildFromCustomMessage
test_case.invocations: build newCustomMessageBuilder isEqualTo assertThat getMessage hasValue assertThat getDescription
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void buildFromCustomMessage()
focal_class.declarator: ERROR_CODE = "header.invalid"
focal_class.modifier: public static final
focal_class.original_string: public static final String ERROR_CODE = "header.invalid";
focal_class.type: String
focal_class.var_name: ERROR_CODE
focal_class.declarator: DEFAULT_MESSAGE = "The value of a header is invalid."
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_MESSAGE = "The value of a header is invalid.";
focal_class.type: String
focal_class.var_name: DEFAULT_MESSAGE
focal_class.declarator: MESSAGE_TEMPLATE = "The value ''{0}'' of the header ''{1}'' is not a valid {2}."
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE_TEMPLATE = "The value ''{0}'' of the header ''{1}'' is not a valid {2}.";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE
focal_class.declarator: DEFAULT_DESCRIPTION = "Verify that the header has the correct syntax and try again."
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_DESCRIPTION = "Verify that the header has the correct syntax and try again.";
focal_class.type: String
focal_class.var_name: DEFAULT_DESCRIPTION
focal_class.declarator: DESCRIPTION_TEMPLATE =
              "Verify that the value of the header ''{0}'' is a valid ''{1}'' and try again."
focal_class.modifier: private static final
focal_class.original_string: private static final String DESCRIPTION_TEMPLATE =
              "Verify that the value of the header ''{0}'' is a valid ''{1}'' and try again.";
focal_class.type: String
focal_class.var_name: DESCRIPTION_TEMPLATE
focal_class.declarator: serialVersionUID = -2338222496153977081L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -2338222496153977081L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/exceptions/DittoHeaderInvalidException.java
focal_class.identifier: DittoHeaderInvalidException
focal_class.class_method_signature: DittoHeaderInvalidException.DittoHeaderInvalidException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.full_signature: private  DittoHeaderInvalidException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.identifier: DittoHeaderInvalidException
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:  DittoHeaderInvalidException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.class_method_signature: DittoHeaderInvalidException.newInvalidTypeBuilder(final String headerName,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.full_signature: public static DittoHeaderInvalidException.Builder newInvalidTypeBuilder(final String headerName,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.identifier: newInvalidTypeBuilder
focal_class.modifiers: public static
focal_class.parameters: (final String headerName,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.return: DittoHeaderInvalidException.Builder
focal_class.signature: DittoHeaderInvalidException.Builder newInvalidTypeBuilder(final String headerName,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.class_method_signature: DittoHeaderInvalidException.newInvalidTypeBuilder(final HeaderDefinition headerDefinition,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.full_signature: public static DittoHeaderInvalidException.Builder newInvalidTypeBuilder(final HeaderDefinition headerDefinition,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.identifier: newInvalidTypeBuilder
focal_class.modifiers: public static
focal_class.parameters: (final HeaderDefinition headerDefinition,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.return: DittoHeaderInvalidException.Builder
focal_class.signature: DittoHeaderInvalidException.Builder newInvalidTypeBuilder(final HeaderDefinition headerDefinition,
              @Nullable final CharSequence headerValue, final String headerType)
focal_class.class_method_signature: DittoHeaderInvalidException.newCustomMessageBuilder(final String customMessage)
focal_class.full_signature: public static DittoHeaderInvalidException.Builder newCustomMessageBuilder(final String customMessage)
focal_class.identifier: newCustomMessageBuilder
focal_class.modifiers: public static
focal_class.parameters: (final String customMessage)
focal_class.return: DittoHeaderInvalidException.Builder
focal_class.signature: DittoHeaderInvalidException.Builder newCustomMessageBuilder(final String customMessage)
focal_class.class_method_signature: DittoHeaderInvalidException.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static DittoHeaderInvalidException 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: DittoHeaderInvalidException
focal_class.signature: DittoHeaderInvalidException fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.superclass: extends DittoRuntimeException
focal_method.body: public static DittoHeaderInvalidException.Builder newCustomMessageBuilder(final String customMessage) {
          return new DittoHeaderInvalidException.Builder(customMessage);
      }
focal_method.class_method_signature: DittoHeaderInvalidException.newCustomMessageBuilder(final String customMessage)
focal_method.full_signature: public static DittoHeaderInvalidException.Builder newCustomMessageBuilder(final String customMessage)
focal_method.identifier: newCustomMessageBuilder
focal_method.modifiers: public static
focal_method.parameters: (final String customMessage)
focal_method.return: DittoHeaderInvalidException.Builder
focal_method.signature: DittoHeaderInvalidException.Builder newCustomMessageBuilder(final String customMessage)