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)
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 required-
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)
Creates an instance of the exception.- Parameters:
project
- The target project for the exception. Cannot benull
.requiredVersion
- Required platform version. Cannot benull
.
-
-
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
-
-