Interface Validator<T>

  • Type Parameters:
    T - value type to validate.

    public interface Validator<T>
    Validate a value, throw an exception on invalid values.
    • Method Detail

      • validate

        void validate​(T value)
               throws java.lang.Exception
        Throws:
        java.lang.Exception