Class UsedProjectHasIncompatibleProfilesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nomagic.magicdraw.esi.refactor.move.UsedProjectHasIncompatibleProfilesException
-
- All Implemented Interfaces:
java.io.Serializable
@OpenApiAll public class UsedProjectHasIncompatibleProfilesException extends java.lang.ExceptionA 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private booleanprojectProfileDowngradeNeededprivate static longserialVersionUIDprivate IAttachedProjecttargetProject
-
Constructor Summary
Constructors Constructor Description UsedProjectHasIncompatibleProfilesException(IAttachedProject targetProject, boolean projectProfileDowngradeNeeded)Creates new instance ofUsedProjectHasIncompatibleProfilesException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAttachedProjectgetTargetProject()Gets the target projectbooleanisProjectProfileDowngradeNeeded()Determines project has profiles that are newer that these of the installation
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
targetProject
private final IAttachedProject targetProject
-
projectProfileDowngradeNeeded
private final boolean projectProfileDowngradeNeeded
-
-
Constructor Detail
-
UsedProjectHasIncompatibleProfilesException
public UsedProjectHasIncompatibleProfilesException(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 Detail
-
getTargetProject
public 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
-
-