Class ModuleDependencyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.module.ModuleDependencyNotFoundException
- All Implemented Interfaces:
Serializable
Represents an exception that is thrown when a module depends on another module which is not loaded.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModuleDependencyNotFoundException(@NonNull String dependency, @NonNull String requiringModule) Constructs a new instance of this ModuleDependencyNotFoundException. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ModuleDependencyNotFoundException
public ModuleDependencyNotFoundException(@NonNull @NonNull String dependency, @NonNull @NonNull String requiringModule) Constructs a new instance of this ModuleDependencyNotFoundException.- Parameters:
dependency- the name of the dependency which is missing.requiringModule- the module which required the dependency to be present.- Throws:
NullPointerException- if dependency or requiringModule is null.
-