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

io.mstream.trader.commons.validation.ValidationErrorDescription Maven / Gradle / Ivy

The newest version!
package io.mstream.trader.commons.validation;


public enum ValidationErrorDescription {

    NOT_PROVIDED("the %s should be provided"),
    WRONG_FORMAT("could not parse the %s"),
    NEGATIVE_NUMBER("the %s should be a positive number"),
    NOT_SUPPORTED_VALUE("the %s '%s' is not supported");

    private final String descriptionFormat;

    ValidationErrorDescription(String descriptionFormat) {
        this.descriptionFormat = descriptionFormat;
    }

    public String getDescriptionFormat() {
        return descriptionFormat;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy