com.baidubce.util
Class Validate
java.lang.Object
com.baidubce.util.Validate
public class Validate
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Validate
public Validate()
checkStringNotEmpty
public static void checkStringNotEmpty(String value,
String errorMessage)
checkNotNull
public static void checkNotNull(Object value,
String errorMessage)
checkIsTrue
public static void checkIsTrue(boolean condition,
String errorMessage)
Copyright © 2018. All rights reserved.