zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.changhong.epc.rely.api.tool;
 
 
 
import com.changhong.epc.constter.base.BaseConst;
import com.iemsoft.framework.cloud.core.exception.IEMRestException;
 
 
public class ValidateTool implements BaseConst {
 
    public static void assertException(boolean isThrow, Object... args){
        if(isThrow){
            throw new IEMRestException("U0041");
        }
    }
    
    public static void assertException(boolean isThrow){
        if(isThrow){
            throw new IEMRestException("U0041");
        }
    }
    
}