com.clinia.utils.Parameters Maven / Gradle / Ivy
package com.clinia.utils;
import com.clinia.exceptions.CliniaRuntimeException;
public class Parameters {
private Parameters() {
// Empty.
}
public static void requireNonNull(Object param, String error) {
if (param == null) {
throw new CliniaRuntimeException(error);
}
}
}