mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
commit
bc22d4dffc
@ -65,6 +65,9 @@ public class MybatisFlexException extends RuntimeException {
|
||||
}
|
||||
|
||||
private String getMessage(Locale locale) {
|
||||
if (pattern == null) {
|
||||
return super.getMessage();
|
||||
}
|
||||
String localizedString = pattern.getLocalizedString(locale);
|
||||
return MessageFormat.format(localizedString, arguments);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user