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

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

package io.paradoxical.cassieq.exceptions;

import io.paradoxical.cassieq.model.accounts.AccountName;
import lombok.Getter;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy