Class UsedProjectHasIncompatibleProfilesException

  • All Implemented Interfaces:
    java.io.Serializable

    @OpenApiAll
    public class UsedProjectHasIncompatibleProfilesException
    extends java.lang.Exception
    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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.nomagic.ci.persistence.IAttachedProject getTargetProject()
      Gets the target project
      boolean isProjectProfileDowngradeNeeded()
      Determines project has profiles that are newer that these of the installation
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UsedProjectHasIncompatibleProfilesException

        public UsedProjectHasIncompatibleProfilesException​(com.nomagic.ci.persistence.IAttachedProject targetProject,
                                                           boolean projectProfileDowngradeNeeded)
        Parameters:
        targetProject - the project
        projectProfileDowngradeNeeded - true if project has profiles that are newer that these of the installation, false if all project's profiles in older only
    • Method Detail

      • 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:
        true if project profiles would require downgrade, false otherwise