增加启动时密码没加密提示异常

This commit is contained in:
shuzheng 2017-06-20 16:40:49 +08:00
parent b570d57152
commit 3234efe990
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ public class AESUtil {
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} catch (IllegalBlockSizeException e) { } catch (IllegalBlockSizeException e) {
e.printStackTrace(); throw new RuntimeException("兄弟配置文件中的密码需要使用AES加密请使用com.zheng.common.util.AESUtil工具类修改这些值");
//e.printStackTrace();
} catch (BadPaddingException e) { } catch (BadPaddingException e) {
e.printStackTrace(); e.printStackTrace();
} }