/**
* uuid參數(shù)合法性校驗(yàn)
*
* @param uuid
* 全局唯一標(biāo)識(shí)符(Universally Unique Identifier),共32個(gè)十六進(jìn)制字符
*/
private void checkUUID(String uuid) {
if (StringUtil.isBlank(uuid)) {
throw new IllegalArgumentException("uuid can't be null or Empty !");
}
if( !uuid.matches("[0-9a-fA-F]{32}") ) {
throw new IllegalArgumentException("uuid was illegal!");
}
}