Class ModulesService.ModuleHasElementWithSameIDAsInPrimaryException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ModulesService

    public static class ModulesService.ModuleHasElementWithSameIDAsInPrimaryException
    extends java.lang.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:
    Serialized Form
    • Field Detail

      • moduleElement

        private final Element moduleElement
      • primaryElement

        private final Element primaryElement
    • Constructor Detail

      • ModuleHasElementWithSameIDAsInPrimaryException

        ModuleHasElementWithSameIDAsInPrimaryException​(IAttachedProject project,
                                                       Element moduleElement,
                                                       Element primaryElement)
    • Method Detail

      • getModuleElement

        public Element getModuleElement()
        The imported module element
        Returns:
        the module element
      • getPrimaryElement

        public Element getPrimaryElement()
        The duplicating primary project's element
        Returns:
        the primary project element