kz.greetgo.security.crypto.errors.NotEqualsIdFieldLengths Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.security Show documentation
Show all versions of greetgo.security Show documentation
Security infrastructure used in greetgo!
package kz.greetgo.security.crypto.errors;
public class NotEqualsIdFieldLengths extends RuntimeException {
public NotEqualsIdFieldLengths(int privateKeyIdFieldLength, int publicKeyIdFieldLength) {
super("If table same for both keys, then id field lengths MUST be equals,\n" +
" but privateKey.idField length = '" + privateKeyIdFieldLength + "'\n" +
" and publicKey.idField length = '" + publicKeyIdFieldLength + "'");
}
}