Package org.apache.iotdb.db.utils
Class ParameterUtils
- java.lang.Object
-
- org.apache.iotdb.db.utils.ParameterUtils
-
public class ParameterUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ParameterUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckNonEmptyString(java.lang.String string, java.lang.String name)check whether the field is empty.
-
-
-
Method Detail
-
checkNonEmptyString
public static void checkNonEmptyString(java.lang.String string, java.lang.String name) throws java.lang.IllegalArgumentExceptioncheck whether the field is empty. If it is empty, an error will be thrown- Parameters:
string- string to checkname- prompt information in error throwing- Throws:
java.lang.IllegalArgumentException
-
-