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

pl.atom.spring.cqs.query.NoSuitableQueryHandlerException Maven / Gradle / Ivy

The newest version!
package pl.atom.spring.cqs.query;

import pl.atom.spring.cqs.command.Command;

public class NoSuitableQueryHandlerException extends RuntimeException {

    public NoSuitableQueryHandlerException(Class> queryClass) {
        super("No suitable QueryHandler found for: " + queryClass.getCanonicalName());
    }

    public > NoSuitableQueryHandlerException(Q query) {
        super("No suitable QueryHandler found for: " + query.getClass().getCanonicalName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy