test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(DittoRuntimeException.JsonFields.STATUS, HttpStatusCode.NOT_FOUND.toInt())
              .set(DittoRuntimeException.JsonFields.ERROR_CODE, ThingNotDeletableException.ERROR_CODE)
              .set(DittoRuntimeException.JsonFields.MESSAGE,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getMessage())
              .set(DittoRuntimeException.JsonFields.DESCRIPTION,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getDescription().get())
              .set(DittoRuntimeException.JsonFields.HREF,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getHref()
                              .map(URI::toString).orElse(null))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(DittoRuntimeException.JsonFields.STATUS, HttpStatusCode.NOT_FOUND.toInt())
              .set(DittoRuntimeException.JsonFields.ERROR_CODE, ThingNotDeletableException.ERROR_CODE)
              .set(DittoRuntimeException.JsonFields.MESSAGE,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getMessage())
              .set(DittoRuntimeException.JsonFields.DESCRIPTION,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getDescription().get())
              .set(DittoRuntimeException.JsonFields.HREF,
                      TestConstants.Thing.THING_NOT_DELETABLE_EXCEPTION.getHref()
                              .map(URI::toString).orElse(null))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/commands/things/src/test/java/org/eclipse/ditto/signals/commands/things/exceptions/ThingNotDeletableExceptionTest.java
test_class.identifier: ThingNotDeletableExceptionTest
test_case.body: @Test
      public void checkMessageV2() {
          final ThingId thingId = ThingId.of("foo", "bar");
          final DittoRuntimeException createdException = ThingNotDeletableException.newBuilder(thingId)
                  .dittoHeaders(DittoHeaders.newBuilder().schemaVersion(JsonSchemaVersion.V_2).build())
                  .build();
  
          final String expectedMessage = "The Thing with ID '"+thingId.toString()+"' could not be deleted as the " +
                  "requester had insufficient permissions ( WRITE on root resource is required).";
          assertThat(createdException.getMessage()).isEqualTo(expectedMessage);
      }
test_case.class_method_signature: ThingNotDeletableExceptionTest.checkMessageV2()
test_case.full_signature: @Test public void checkMessageV2()
test_case.identifier: checkMessageV2
test_case.invocations: of build dittoHeaders newBuilder build schemaVersion newBuilder toString isEqualTo assertThat getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void checkMessageV2()
focal_class.declarator: ERROR_CODE = ERROR_CODE_PREFIX + "thing.notdeletable"
focal_class.modifier: public static final
focal_class.original_string: public static final String ERROR_CODE = ERROR_CODE_PREFIX + "thing.notdeletable";
focal_class.type: String
focal_class.var_name: ERROR_CODE
focal_class.declarator: MESSAGE_TEMPLATE_V1 = "The Thing with ID ''{0}'' could not be deleted as the requester "
              + "had insufficient permissions ( 'WRITE' and 'ADMINISTRATE' are required)."
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE_TEMPLATE_V1 = "The Thing with ID ''{0}'' could not be deleted as the requester "
              + "had insufficient permissions ( 'WRITE' and 'ADMINISTRATE' are required).";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE_V1
focal_class.declarator: MESSAGE_TEMPLATE = "The Thing with ID ''{0}'' could not be deleted as the requester "
              + "had insufficient permissions ( 'WRITE' on root resource is required)."
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE_TEMPLATE = "The Thing with ID ''{0}'' could not be deleted as the requester "
              + "had insufficient permissions ( 'WRITE' on root resource is required).";
focal_class.type: String
focal_class.var_name: MESSAGE_TEMPLATE
focal_class.declarator: DEFAULT_DESCRIPTION =
              "Check if the ID of your requested Thing was correct and you have sufficient permissions."
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_DESCRIPTION =
              "Check if the ID of your requested Thing was correct and you have sufficient permissions.";
focal_class.type: String
focal_class.var_name: DEFAULT_DESCRIPTION
focal_class.declarator: serialVersionUID = -8123337828934144618L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -8123337828934144618L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: signals/commands/things/src/main/java/org/eclipse/ditto/signals/commands/things/exceptions/ThingNotDeletableException.java
focal_class.identifier: ThingNotDeletableException
focal_class.interfaces: implements ThingException
focal_class.class_method_signature: ThingNotDeletableException.ThingNotDeletableException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.full_signature: private  ThingNotDeletableException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.identifier: ThingNotDeletableException
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:  ThingNotDeletableException(final DittoHeaders dittoHeaders,
              @Nullable final String message,
              @Nullable final String description,
              @Nullable final Throwable cause,
              @Nullable final URI href)
focal_class.class_method_signature: ThingNotDeletableException.newBuilder(final ThingId thingId)
focal_class.full_signature: public static Builder newBuilder(final ThingId thingId)
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: (final ThingId thingId)
focal_class.return: Builder
focal_class.signature: Builder newBuilder(final ThingId thingId)
focal_class.class_method_signature: ThingNotDeletableException.fromMessage(@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ThingNotDeletableException 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: ThingNotDeletableException
focal_class.signature: ThingNotDeletableException fromMessage(@Nullable final String message,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: ThingNotDeletableException.fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static ThingNotDeletableException 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: ThingNotDeletableException
focal_class.signature: ThingNotDeletableException fromJson(final JsonObject jsonObject,
              final DittoHeaders dittoHeaders)
focal_class.superclass: extends DittoRuntimeException
focal_method.body: public static Builder newBuilder(final ThingId thingId) {
          return new Builder(thingId);
      }
focal_method.class_method_signature: ThingNotDeletableException.newBuilder(final ThingId thingId)
focal_method.full_signature: public static Builder newBuilder(final ThingId thingId)
focal_method.identifier: newBuilder
focal_method.modifiers: public static
focal_method.parameters: (final ThingId thingId)
focal_method.return: Builder
focal_method.signature: Builder newBuilder(final ThingId thingId)