Class UsedProjectHasIncompatibleProfilesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.esi.refactor.move.UsedProjectHasIncompatibleProfilesException
- All Implemented Interfaces:
Serializable
A special exception that is thrown if the target project has not up-to-date system/standard
profiles and thus cannot be changed (the move operation cannot continue)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUsedProjectHasIncompatibleProfilesException(com.nomagic.ci.persistence.IAttachedProject targetProject, boolean projectProfileDowngradeNeeded) Creates new instance ofUsedProjectHasIncompatibleProfilesException -
Method Summary
Modifier and TypeMethodDescriptioncom.nomagic.ci.persistence.IAttachedProjectGets the target projectbooleanDetermines project has profiles that are newer that these of the installationMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UsedProjectHasIncompatibleProfilesException
public UsedProjectHasIncompatibleProfilesException(com.nomagic.ci.persistence.IAttachedProject targetProject, boolean projectProfileDowngradeNeeded) Creates new instance ofUsedProjectHasIncompatibleProfilesException- Parameters:
targetProject- the projectprojectProfileDowngradeNeeded-trueif project has profiles that are newer that these of the installation,falseif all project's profiles in older only
-
-
Method Details
-
getTargetProject
public com.nomagic.ci.persistence.IAttachedProject getTargetProject()Gets the target project- Returns:
- the target
-
isProjectProfileDowngradeNeeded
public boolean isProjectProfileDowngradeNeeded()Determines project has profiles that are newer that these of the installation- Returns:
trueif project profiles would require downgrade,falseotherwise
-