class PolicyInvalidException extends DittoRuntimeException implements ThingException {

    public static Builder newBuilder(final Collection<String> permissions, final ThingId thingId) {
        checkNotNull(permissions, "permissions");
        checkNotNull(thingId, "thingId");
        return new Builder(permissions, thingId);
    }

    private  PolicyInvalidException(final DittoHeaders dittoHeaders,
            @Nullable final String message,
            @Nullable final String description,
            @Nullable final Throwable cause,
            @Nullable final URI href);

}