super(element);
PluginManager pluginManager = PluginManager.getInstance();
sourceType = element.getAttribute(SOURCE_TYPE);
if (!pluginManager.existArtefactType(sourceType)) {
String message = generateExceptionMessage(sourceType);
throw new ExtensionException(message);
}
targetType = element.getAttribute(TARGET_TYPE);
if (!pluginManager.existArtefactType(targetType)) {
String message = generateExceptionMessage(targetType);
throw new ExtensionException(message);
}
}