Class RuntimeVersionRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.RuntimeVersionRequiredException
-
- All Implemented Interfaces:
Serializable
public class RuntimeVersionRequiredException extends Exception
Signals that target infobase was executed with illegal version of 1C:Enterprise runtime installation.Required version can be obtained with
getVersion()
andgetBuild()
by clients.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuntimeVersionRequiredException(Version version, int build, Throwable cause)
Constructor ofRuntimeVersionRequiredException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuild()
Returns the build of 1C:Enterprise runtime installation, that is required by the target infobase.Version
getVersion()
Returns the version of 1C:Enterprise runtime installation, that is required by the target infobase.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuntimeVersionRequiredException
public RuntimeVersionRequiredException(Version version, int build, Throwable cause)
Constructor ofRuntimeVersionRequiredException
.- Parameters:
version
- the required version of 1C:Enterprise runtime, cannot benull
build
- the required build of 1C:Enterprise runtime, cannot benull
cause
- the cause, which is saved for later retrieval by theThrowable.getCause()
method, cannot benull
-
-
Method Detail
-
getVersion
public Version getVersion()
Returns the version of 1C:Enterprise runtime installation, that is required by the target infobase.- Returns:
- the version, that is required by target infobase, never
null
-
getBuild
public int getBuild()
Returns the build of 1C:Enterprise runtime installation, that is required by the target infobase.- Returns:
- the build, that is required by target infobase
-
-