整理代码。
This commit is contained in:
@@ -9,10 +9,13 @@ import xyz.zhouxy.plusone.exception.BizException;
|
||||
*/
|
||||
public class UnsupportedPrincipalTypeException extends BizException {
|
||||
|
||||
private static final long serialVersionUID = 5207757290868470762L;
|
||||
|
||||
public static final int ERR_CODE = 4040201;
|
||||
private static final String DEFAULT_ERROR_MSG = "不支持的 PrincipalType";
|
||||
|
||||
public UnsupportedPrincipalTypeException() {
|
||||
super(ERR_CODE, "不支持的 PrincipalType");
|
||||
super(ERR_CODE, DEFAULT_ERROR_MSG);
|
||||
}
|
||||
|
||||
public UnsupportedPrincipalTypeException(String msg) {
|
||||
|
Reference in New Issue
Block a user