Module io.inverno.mod.configuration
Package io.inverno.mod.configuration
Class ConfigurationLoaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.configuration.ConfigurationLoaderException
- All Implemented Interfaces:
Serializable
Thrown by a configuration loader to indicate an error when loading a configuration.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a configuration loader exception.ConfigurationLoaderException
(String message) Creates a configuration loader exception with the specified message.ConfigurationLoaderException
(String message, Throwable cause) Creates a configuration loader exception with the specified message and cause.ConfigurationLoaderException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a configuration loader exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.Creates a configuration loader exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationLoaderException
public ConfigurationLoaderException()Creates a configuration loader exception.
-
ConfigurationLoaderException
Creates a configuration loader exception with the specified message.
- Parameters:
message
- the message
-
ConfigurationLoaderException
Creates a configuration loader exception with the specified cause.
- Parameters:
cause
- the cause
-
ConfigurationLoaderException
Creates a configuration loader exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
ConfigurationLoaderException
public ConfigurationLoaderException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a configuration loader exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message
- the messagecause
- the causeenableSuppression
- true to enable suppression, false otherwisewritableStackTrace
- true to make the stack trace writable, false otherwise
-