yonge 5 年 前
コミット
8b34815034

+ 2 - 2
edu-thirdparty/src/main/java/com/keao/edu/thirdparty/storage/StoragePluginContext.java

@@ -15,7 +15,7 @@ public class StoragePluginContext {
 	
 	public static void addStoragePlugin(StoragePlugin storagePlugin) {
 		if (mapper.containsKey(storagePlugin.getName())) {
-			throw new ThirdpartyException("消息提供方:{}不存在", storagePlugin.getName());
+			throw new ThirdpartyException("存储插件:{}已存在", storagePlugin.getName());
 		}
 		mapper.put(storagePlugin.getName(), storagePlugin);
 	}
@@ -29,7 +29,7 @@ public class StoragePluginContext {
 		StoragePlugin storagePlugin = mapper.get(storagePluginName);
 
 		if (storagePlugin == null) {
-			throw new ThirdpartyException("消息提供方:{}不存在", storagePluginName);
+			throw new ThirdpartyException("存储插件:{}不存在", storagePluginName);
 		}
 
 		return storagePlugin;