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

org.solidcoding.validation.api.VoidValidator Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package org.solidcoding.validation.api;

import java.util.function.Function;

public interface VoidValidator extends LoggingValidator, ThrowingValidator {

    /**
     * @param throwableFunction the function defining the Exception that needs to be thrown when a rule is broken. The String is the stored failure message of the validation.
     * @param                the bound of the Exception that needs to be thrown when a rule is broken.
     */
     Void orElseThrow(Function throwableFunction);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy