Class ModuleDependencyOutdatedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.module.ModuleDependencyOutdatedException
All Implemented Interfaces:
Serializable

public class ModuleDependencyOutdatedException extends RuntimeException
Represents an exception that is thrown if a module depends on a specific version of a module and the versions do not match.
Since:
4.0
See Also:
  • Constructor Details

    • ModuleDependencyOutdatedException

      public ModuleDependencyOutdatedException(@NonNull @NonNull ModuleWrapper requiringModule, @NonNull @NonNull ModuleDependency dependency, @NonNull @NonNull String semverIndex, int required, int actual)
      Creates a new instance of this ModuleDependencyOutdatedException.
      Parameters:
      requiringModule - the module which requires the dependency.
      dependency - the dependency which is outdated.
      semverIndex - the semver index name: major, minor, patch
      required - the required version of the semver index.
      actual - the actual running version of the semver index.
      Throws:
      NullPointerException - if requiringModule, dependency or semverIndex is null.