@@ -24,7 +24,7 @@ public class BusinessException extends RuntimeException implements Supplier<Busi
}
public BusinessException(String error, int code) {
- super();
+ super(error);
this.error = error;
this.code = code;
@@ -20,4 +20,8 @@ public class TokenUtils {
return null;
+
+ public static void main(String[] args) {
+ System.out.println(TokenUtils.genTokenId());
+ }