test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/UnknownTopicPathExceptionTest.java
test_class.identifier: UnknownTopicPathExceptionTest
test_case.body: @Test
      public void fromTopicAndPath() {
          final TopicPath topicPath = ImmutableTopicPath.of("ns", "id", TopicPath.Group.THINGS, TopicPath.Channel.TWIN,
                  TopicPath.Criterion.COMMANDS, TopicPath.Action.MODIFY);
          final MessagePath messagePath = ImmutableMessagePath.of(JsonPointer.of("/policyId"));
          final DittoHeaders dittoHeaders = DittoHeaders.empty();
  
          final UnknownTopicPathException exception = UnknownTopicPathException.fromTopicAndPath(topicPath, messagePath, dittoHeaders);
  
          Assertions.assertThat(exception)
                  .hasMessageContaining(topicPath.getPath())
                  .hasMessageContaining(messagePath.toString());
      }
test_case.class_method_signature: UnknownTopicPathExceptionTest.fromTopicAndPath()
test_case.full_signature: @Test public void fromTopicAndPath()
test_case.identifier: fromTopicAndPath
test_case.invocations: of of of empty fromTopicAndPath hasMessageContaining hasMessageContaining assertThat getPath toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void fromTopicAndPath()
focal_class.declarator: ERROR_CODE = "things.protocol.adapter:unknown.topicpath"
focal_class.modifier: public static final
focal_class.original_string: public static final String ERROR_CODE = "things.protocol.adapter:unknown.topicpath";
focal_class.type: String
focal_class.var_name: ERROR_CODE
focal_class.declarator: MESSAGE_TEMPLATE = "The topic path ''{0}'' is not supported."
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE_TEMPLATE = "The topic path ''{0}'' is not supported.";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE
focal_class.declarator: MESSAGE_TEMPLATE_WITH_PATH =
              "The topic ''{0}'' is not supported in combination with the path ''{1}''"
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE_TEMPLATE_WITH_PATH =
              "The topic ''{0}'' is not supported in combination with the path ''{1}''";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE_WITH_PATH
focal_class.declarator: DEFAULT_DESCRIPTION = "Check if the topic path is correct."
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_DESCRIPTION = "Check if the topic path is correct.";
focal_class.type: String
focal_class.var_name: DEFAULT_DESCRIPTION
focal_class.declarator: serialVersionUID = 5748920703966374167L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 5748920703966374167L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/UnknownTopicPathException.java
focal_class.identifier: UnknownTopicPathException
focal_class.class_method_signature: UnknownTopicPathException.UnknownTopicPathException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.full_signature: private  UnknownTopicPathException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.identifier: UnknownTopicPathException
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:  UnknownTopicPathException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.class_method_signature: UnknownTopicPathException.newBuilder(final TopicPath topicPath)
focal_class.full_signature: public static Builder newBuilder(final TopicPath topicPath)
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: (final TopicPath topicPath)
focal_class.return: Builder
focal_class.signature: Builder newBuilder(final TopicPath topicPath)
focal_class.class_method_signature: UnknownTopicPathException.newBuilder(final String path)
focal_class.full_signature: public static Builder newBuilder(final String path)
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: (final String path)
focal_class.return: Builder
focal_class.signature: Builder newBuilder(final String path)
focal_class.class_method_signature: UnknownTopicPathException.fromMessage(@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static UnknownTopicPathException fromMessage(@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.identifier: fromMessage
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.return: UnknownTopicPathException
focal_class.signature: UnknownTopicPathException fromMessage(@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: UnknownTopicPathException.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static UnknownTopicPathException 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: UnknownTopicPathException
focal_class.signature: UnknownTopicPathException fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: UnknownTopicPathException.fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_class.full_signature: static UnknownTopicPathException fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_class.identifier: fromTopicAndPath
focal_class.modifiers: static
focal_class.parameters: (
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_class.return: UnknownTopicPathException
focal_class.signature: UnknownTopicPathException fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_class.superclass: extends DittoRuntimeException
focal_method.body: static UnknownTopicPathException fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders) {
          final String theTopicPath = null != topicPath ? topicPath.getPath() : "";
          final String message = MessageFormat.format(MESSAGE_TEMPLATE_WITH_PATH, theTopicPath, path);
          return new Builder()
                  .dittoHeaders(dittoHeaders)
                  .message(message)
                  .build();
      }
focal_method.class_method_signature: UnknownTopicPathException.fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_method.full_signature: static UnknownTopicPathException fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_method.identifier: fromTopicAndPath
focal_method.invocations: getPath format build message dittoHeaders
focal_method.modifiers: static
focal_method.parameters: (
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)
focal_method.return: UnknownTopicPathException
focal_method.signature: UnknownTopicPathException fromTopicAndPath(
              @Nullable final TopicPath topicPath,
              @Nullable final MessagePath path,
              @Nonnull final DittoHeaders dittoHeaders)