public static void parameterNotNull(final String name, final Object reference) {
        if (reference == null) {
            raiseError(format("Parameter '%s' is not expected to be null.", name));
        }
    }
public static void parameterNotNull ( final String name , final Object reference ) { if ( reference == null ) { raiseError ( format ( "Parameter '%s' is not expected to be null." , name ) ) ; } }
Validates that the parameter is not null

@param name      the parameter name
@param reference the proposed parameter value