Class ValidationUtils


  • public class ValidationUtils
    extends Object
    Validation utils for Class objects.
    • Constructor Detail

      • ValidationUtils

        public ValidationUtils()
    • Method Detail

      • notNull

        public static <T> void notNull​(T object)
        Validate that the specified argument is not null; otherwise throws an IllegalArgumentException with the specified message.
        Type Parameters:
        T - the object type
        Parameters:
        object - the object to check
        Throws:
        IllegalArgumentException - if the object is null