Class ModuleConfigurationInvalidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.module.driver.ModuleConfigurationInvalidException
- All Implemented Interfaces:
Serializable
An exception thrown when a module is unable to read its configuration file for whatever reason.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionModuleConfigurationInvalidException(@NonNull Path configPath, @NonNull Exception originalException) Constructs a new module configuration invalid exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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.
-