Class ModuleConfigurationInvalidException

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

public class ModuleConfigurationInvalidException extends RuntimeException
An exception thrown when a module is unable to read its configuration file for whatever reason.
Since:
4.0
See Also:
  • Constructor Details

    • ModuleConfigurationInvalidException

      public ModuleConfigurationInvalidException(@NonNull @NonNull Path configPath, @NonNull @NonNull Exception originalException)
      Constructs a new module configuration invalid exception.
      Parameters:
      configPath - the path to the configuration file.
      originalException - the exception thrown originally during parsing.
      Throws:
      NullPointerException - if the given config path or original exception is null.