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

io.paradoxical.cassieq.exceptions.AccountKeyNotFoundException Maven / Gradle / Ivy

The newest version!
package io.paradoxical.cassieq.exceptions;

import io.paradoxical.cassieq.model.QueueName;
import io.paradoxical.cassieq.model.accounts.KeyName;
import lombok.Getter;

public class AccountKeyNotFoundException extends EntityNotFoundException {
    public AccountKeyNotFoundException(
            final String operation,
            final KeyName keyName) {
        super(new ErrorEntity(ErrorReason.NotFound,
                              operation,
                              "The requested account key of '%s' was not found.", keyName) {
            @Getter
            private final KeyName key = keyName;
        });
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy