com.power.common.util.Assert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-util Show documentation
Show all versions of common-util Show documentation
ApplicationPower common-util
package com.power.common.util;
import com.power.common.exception.AssertException;
/**
* @author yu 2019/11/1.
*/
public class Assert {
/**
* Assert null
* @param object object
* @param message message
* @param args args
*/
public static void notNull(Object object, String message,Object... args ) {
if (object == null) {
throw new AssertException(String.format(message, args));
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy