Handle deleted maps propertly.
This commit is contained in:
@@ -18,7 +18,11 @@ abstract public class ClientException extends WiseMappingException {
|
||||
String getMsgBundleKey();
|
||||
|
||||
public String getMessage(@NotNull final MessageSource messageSource, final @NotNull Locale locale) {
|
||||
return messageSource.getMessage(this.getMsgBundleKey(), this.getMsgBundleArgs(), locale);
|
||||
String message = messageSource.getMessage(this.getMsgBundleKey(), this.getMsgBundleArgs(), locale);
|
||||
if(message==null){
|
||||
message = this.getMessage();
|
||||
}
|
||||
return message;
|
||||
}
|
||||
|
||||
protected Object[] getMsgBundleArgs(){
|
||||
|
Reference in New Issue
Block a user