Class ModulesService.UsedViaReadOnlyAutomaticUsageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.core.modules.ModulesService.UsedViaReadOnlyAutomaticUsageException
All Implemented Interfaces:
Serializable
Enclosing class:
ModulesService

public static class ModulesService.UsedViaReadOnlyAutomaticUsageException extends Exception
Thrown when module(s) can not be removed due to all paths from primary project to it contains a read only automatic usage
See Also:
  • Constructor Details

    • UsedViaReadOnlyAutomaticUsageException

      public UsedViaReadOnlyAutomaticUsageException(com.nomagic.ci.persistence.spi.decomposition.AttachmentSet offendingUsages)
      Parameters:
      offendingUsages - The set of offending read-only automatic usages
  • Method Details

    • getOffendingUsages

      public com.nomagic.ci.persistence.spi.decomposition.AttachmentSet getOffendingUsages()
      Gets the set of offending read-only automatic usages
      Returns:
      the read-only automatic usages