test_class.declarator: KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, PolicyErrorResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.NOT_FOUND.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(PolicyCommandResponse.JsonFields.PAYLOAD,
                      TestConstants.Policy.POLICY_NOT_ACCESSIBLE_EXCEPTION.toJson(FieldType.regularOrSpecial()))
              .build()
test_class.modifier: private static final
test_class.original_string: private static final JsonObject KNOWN_JSON = JsonFactory.newObjectBuilder()
              .set(PolicyCommandResponse.JsonFields.TYPE, PolicyErrorResponse.TYPE)
              .set(PolicyCommandResponse.JsonFields.STATUS, HttpStatusCode.NOT_FOUND.toInt())
              .set(PolicyCommandResponse.JsonFields.JSON_POLICY_ID, TestConstants.Policy.POLICY_ID.toString())
              .set(PolicyCommandResponse.JsonFields.PAYLOAD,
                      TestConstants.Policy.POLICY_NOT_ACCESSIBLE_EXCEPTION.toJson(FieldType.regularOrSpecial()))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_JSON
test_class.file: signals/commands/policies/src/test/java/org/eclipse/ditto/signals/commands/policies/PolicyErrorResponseTest.java
test_class.identifier: PolicyErrorResponseTest
test_case.body: @Test
      public void createInstanceFromValidJson() {
          final PolicyErrorResponse underTest =
                  PolicyErrorResponse.fromJson(KNOWN_JSON, TestConstants.EMPTY_DITTO_HEADERS);
  
          assertThat(underTest).isNotNull();
      }
test_case.class_method_signature: PolicyErrorResponseTest.createInstanceFromValidJson()
test_case.full_signature: @Test public void createInstanceFromValidJson()
test_case.identifier: createInstanceFromValidJson
test_case.invocations: fromJson isNotNull assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createInstanceFromValidJson()
focal_class.declarator: TYPE = TYPE_PREFIX + "errorResponse"
focal_class.modifier: public static final
focal_class.original_string: public static final String TYPE = TYPE_PREFIX + "errorResponse";
focal_class.type: String
focal_class.var_name: TYPE
focal_class.declarator: GLOBAL_ERROR_REGISTRY = GlobalErrorRegistry.getInstance()
focal_class.modifier: private static final
focal_class.original_string: private static final GlobalErrorRegistry GLOBAL_ERROR_REGISTRY = GlobalErrorRegistry.getInstance();
focal_class.type: GlobalErrorRegistry
focal_class.var_name: GLOBAL_ERROR_REGISTRY
focal_class.declarator: FALLBACK_POLICY_ID = PolicyId.of(FALLBACK_ID)
focal_class.modifier: private static final
focal_class.original_string: private static final PolicyId FALLBACK_POLICY_ID = PolicyId.of(FALLBACK_ID);
focal_class.type: PolicyId
focal_class.var_name: FALLBACK_POLICY_ID
focal_class.declarator: policyId
focal_class.modifier: private final
focal_class.original_string: private final PolicyId policyId;
focal_class.type: PolicyId
focal_class.var_name: policyId
focal_class.declarator: dittoRuntimeException
focal_class.modifier: private final
focal_class.original_string: private final DittoRuntimeException dittoRuntimeException;
focal_class.type: DittoRuntimeException
focal_class.var_name: dittoRuntimeException
focal_class.file: signals/commands/policies/src/main/java/org/eclipse/ditto/signals/commands/policies/PolicyErrorResponse.java
focal_class.identifier: PolicyErrorResponse
focal_class.interfaces: implements PolicyCommandResponse<PolicyErrorResponse>
focal_class.class_method_signature: PolicyErrorResponse.PolicyErrorResponse(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: private  PolicyErrorResponse(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.identifier: PolicyErrorResponse
focal_class.modifiers: private
focal_class.parameters: (final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.signature:  PolicyErrorResponse(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.of(final DittoRuntimeException dittoRuntimeException)
focal_class.full_signature: public static PolicyErrorResponse of(final DittoRuntimeException dittoRuntimeException)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final DittoRuntimeException dittoRuntimeException)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final DittoRuntimeException dittoRuntimeException)
focal_class.class_method_signature: PolicyErrorResponse.of(final String policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.full_signature: @Deprecated public static PolicyErrorResponse of(final String policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final String policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.class_method_signature: PolicyErrorResponse.of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.full_signature: public static PolicyErrorResponse of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException)
focal_class.class_method_signature: PolicyErrorResponse.of(final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PolicyErrorResponse of(final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.of(final String policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: @Deprecated public static PolicyErrorResponse of(final String policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final String policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PolicyErrorResponse of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse of(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
              final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PolicyErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString, final DittoHeaders dittoHeaders)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.full_signature: public static PolicyErrorResponse 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: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse fromJson(final JsonObject jsonObject, final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.getEntityId()
focal_class.full_signature: @Override public PolicyId getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: PolicyId
focal_class.signature: PolicyId getEntityId()
focal_class.class_method_signature: PolicyErrorResponse.getDittoRuntimeException()
focal_class.full_signature: @Override public DittoRuntimeException getDittoRuntimeException()
focal_class.identifier: getDittoRuntimeException
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DittoRuntimeException
focal_class.signature: DittoRuntimeException getDittoRuntimeException()
focal_class.class_method_signature: PolicyErrorResponse.getResourcePath()
focal_class.full_signature: @Override public JsonPointer getResourcePath()
focal_class.identifier: getResourcePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonPointer
focal_class.signature: JsonPointer getResourcePath()
focal_class.class_method_signature: PolicyErrorResponse.appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override protected void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.identifier: appendPayload
focal_class.modifiers: @Override protected
focal_class.parameters: (final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.return: void
focal_class.signature: void appendPayload(final JsonObjectBuilder jsonObjectBuilder, final JsonSchemaVersion schemaVersion,
              final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: PolicyErrorResponse.setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.full_signature: @Override public PolicyErrorResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.identifier: setDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (final DittoHeaders dittoHeaders)
focal_class.return: PolicyErrorResponse
focal_class.signature: PolicyErrorResponse setDittoHeaders(final DittoHeaders dittoHeaders)
focal_class.class_method_signature: PolicyErrorResponse.canEqual(final Object other)
focal_class.full_signature: @Override protected boolean canEqual(final Object other)
focal_class.identifier: canEqual
focal_class.modifiers: @Override protected
focal_class.parameters: (final Object other)
focal_class.return: boolean
focal_class.signature: boolean canEqual(final Object other)
focal_class.class_method_signature: PolicyErrorResponse.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: PolicyErrorResponse.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: PolicyErrorResponse.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractErrorResponse<PolicyErrorResponse>
focal_method.body: public static PolicyErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders) {
          final JsonObject jsonObject =
                  DittoJsonException.wrapJsonRuntimeException(() -> JsonFactory.newObject(jsonString));
          return fromJson(jsonObject, dittoHeaders);
      }
focal_method.class_method_signature: PolicyErrorResponse.fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_method.full_signature: public static PolicyErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)
focal_method.identifier: fromJson
focal_method.invocations: wrapJsonRuntimeException newObject fromJson
focal_method.modifiers: public static
focal_method.parameters: (final String jsonString, final DittoHeaders dittoHeaders)
focal_method.return: PolicyErrorResponse
focal_method.signature: PolicyErrorResponse fromJson(final String jsonString, final DittoHeaders dittoHeaders)