All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deephaven.engine.table.impl.locations.UnknownPartitionKeyException Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
package io.deephaven.engine.table.impl.locations;

import io.deephaven.UncheckedDeephavenException;
import org.jetbrains.annotations.NotNull;

/**
 * Exception thrown when a requested partition value cannot be found because the partition key is unknown.
 */
public class UnknownPartitionKeyException extends UncheckedDeephavenException {

    public UnknownPartitionKeyException(@NotNull final String partitionKey) {
        super("Unknown partition key " + partitionKey);
    }

    public UnknownPartitionKeyException(@NotNull final String partitionKey,
            @NotNull final TableLocationKey locationKey) {
        super("Unknown partition key " + partitionKey + " for table location key " + locationKey);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy