
org.analogweb.util.Assertion Maven / Gradle / Ivy
The newest version!
package org.analogweb.util;
import org.analogweb.core.AssertionFailureException;
/**
* @author snowgoose
*/
public final class Assertion {
public static void notNull(Object anObject, String name) throws AssertionFailureException {
if (anObject == null) {
throw new AssertionFailureException(name);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy