Class RMParameterCheck


  • public class RMParameterCheck
    extends Object
    Utility class that contains validation not present in ParameterCheck.
    Author:
    tpage
    • Constructor Detail

      • RMParameterCheck

        public RMParameterCheck()
    • Method Detail

      • checkNotBlank

        public static void checkNotBlank​(String strParamName,
                                         String strParamValue)
                                  throws IllegalArgumentException
        Checks that the string parameter with the given name is not blank i.e. it is not null, zero length or entirely composed of whitespace.
        Parameters:
        strParamName - Name of parameter to check
        strParamValue - Value of the parameter to check
        Throws:
        IllegalArgumentException