Class Preconditions


  • public final class Preconditions
    extends Object
    • Method Detail

      • argumentNotNull

        public static void argumentNotNull​(String argName,
                                           Object argValue)
        Checks that the given argument is not null
        Parameters:
        argName - the name of the argument
        argValue - the value of the argument.
        Throws:
        IllegalArgumentException - if the argument is null