io.permazen.jsck.InvalidKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permazen-jsck Show documentation
Show all versions of permazen-jsck Show documentation
Permazen analog to UNIX fsck(8) command for checking the consistency of, and repairing any corruption in, a Permazen key/value database
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.jsck;
import io.permazen.kv.KVPair;
/**
* Represents an invalid/unexpected key in a Permazen key/value database.
*/
public class InvalidKey extends Issue {
public InvalidKey(KVPair pair) {
this(pair.getKey(), pair.getValue());
}
public InvalidKey(byte[] key, byte[] value) {
super("invalid key", key, value, null);
}
public InvalidKey(String message, byte[] key, byte[] value) {
super(message, key, value, null);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy