Class 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() and getBuild() by clients.

    See Also:
    Serialized Form
    • Constructor Detail

      • RuntimeVersionRequiredException

        public RuntimeVersionRequiredException​(Version version,
                                               int build,
                                               Throwable cause)
        Parameters:
        version - the required version of 1C:Enterprise runtime, cannot be null
        build - the required build of 1C:Enterprise runtime, cannot be null
        cause - the cause, which is saved for later retrieval by the Throwable.getCause() method, cannot be null
    • 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