Class ModulesService.ModuleHasElementWithSameIDAsInPrimaryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.nomagic.magicdraw.core.modules.ModulesService.ModuleHasElementWithSameIDAsInPrimaryException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ModulesService
public static class ModulesService.ModuleHasElementWithSameIDAsInPrimaryException
extends RuntimeException
An exception that indicates that module cannot be imported because there is an element with
same Local ID in the primary project
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe imported module elementThe duplicating primary project's elementMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getModuleElement
The imported module element- Returns:
- the module element
-
getPrimaryElement
The duplicating primary project's element- Returns:
- the primary project element
-