Class RuntimeVersionUnsupportedException

    • Constructor Detail

      • RuntimeVersionUnsupportedException

        public RuntimeVersionUnsupportedException​(IDtProject project,
                                                  Version requiredVersion,
                                                  boolean toBeHandled)
        Creates an instance of the exception.
        Parameters:
        project - The target project for the exception. Cannot be null
        requiredVersion - Required platform version. Cannot be null
        toBeHandled - Flag to show if exception is to be proceeded by DtUiIncidentProcessor
    • Method Detail

      • getRequiredVersion

        public Version getRequiredVersion()
        Gets the version of the platform that is required
        Returns:
        The version of the platform that should be installed to continue with the project May not be null
      • isToBeHandled

        public boolean isToBeHandled()
        Returns if this exception is to be proceeded by DtUiIncidentProcessor
        Returns:
        Proceeding state
      • setExceptionHandled

        public void setExceptionHandled()
        This method is introduced to cover the case if exception is parsing multiple times - allows ignoring it on future calls by DtUiIncidentProcessor