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
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 Summary
ConstructorDescriptionUsedViaReadOnlyAutomaticUsageException
(com.nomagic.ci.persistence.spi.decomposition.AttachmentSet offendingUsages) Creates new instance ofModulesService.UsedViaReadOnlyAutomaticUsageException
-
Method Summary
Modifier and TypeMethodDescriptioncom.nomagic.ci.persistence.spi.decomposition.AttachmentSet
Gets the set of offending read-only automatic usagesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UsedViaReadOnlyAutomaticUsageException
public UsedViaReadOnlyAutomaticUsageException(com.nomagic.ci.persistence.spi.decomposition.AttachmentSet offendingUsages) Creates new instance ofModulesService.UsedViaReadOnlyAutomaticUsageException
- 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
-