Package com._1c.g5.v8.dt.core.lifecycle
Class RuntimeVersionUnsupportedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com._1c.g5.v8.dt.core.lifecycle.ProjectContextRestartRequestedException
-
- com._1c.g5.v8.dt.core.lifecycle.RuntimeVersionUnsupportedException
-
- All Implemented Interfaces:
Serializable
public class RuntimeVersionUnsupportedException extends ProjectContextRestartRequestedException
Project restart-requiring exception that indicates that the system lacks the support of the platform version that is necessary to start the project- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.core.lifecycle.ProjectContextRestartRequestedException
ProjectContextRestartRequestedException.RestartAllowance
-
-
Constructor Summary
Constructors Constructor Description RuntimeVersionUnsupportedException(IDtProject project, Version requiredVersion, boolean toBeHandled)
Creates an instance of the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version
getRequiredVersion()
Gets the version of the platform that is requiredboolean
isToBeHandled()
Returns if this exception is to be proceeded by DtUiIncidentProcessorvoid
setExceptionHandled()
This method is introduced to cover the case if exception is parsing multiple times - allows ignoring it on future calls by DtUiIncidentProcessor-
Methods inherited from class com._1c.g5.v8.dt.core.lifecycle.ProjectContextRestartRequestedException
getProject, setIncidentController, waitForResolution
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 benull
requiredVersion
- Required platform version. Cannot benull
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
-
-