Package io.rincl
Class MissingResourceKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.confound.config.ConfigurationException
io.confound.config.MissingConfigurationKeyException
io.rincl.MissingResourceKeyException
- All Implemented Interfaces:
Serializable
public class MissingResourceKeyException
extends io.confound.config.MissingConfigurationKeyException
A configuration exception indicating that a configuration key was not found for resources.
- Author:
- Garret Wilson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKey constructor.MissingResourceKeyException
(String message, String key) Message and key constructor.MissingResourceKeyException
(String message, String key, Throwable cause) Message, key, and cause constructor.MissingResourceKeyException
(String key, Throwable cause) Cause constructor.MissingResourceKeyException
(MissingResourceException missingResourceException) Creates an exception from an instance of Java's missing resource exception, usually associated with resource bundles. -
Method Summary
Methods inherited from class io.confound.config.MissingConfigurationKeyException
getKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingResourceKeyException
Key constructor.- Parameters:
key
- The key of the configuration configuration that was not found.
-
MissingResourceKeyException
Message and key constructor.- Parameters:
message
- An explanation of why the input could not be parsed, ornull
if no message should be used.key
- The key of the configuration configuration that was not found.
-
MissingResourceKeyException
Cause constructor. The message of the cause will be used if available.- Parameters:
key
- The key of the configuration configuration that was not found.cause
- The cause error ornull
if the cause is nonexistent or unknown.
-
MissingResourceKeyException
public MissingResourceKeyException(@Nullable String message, @Nonnull String key, @Nullable Throwable cause) Message, key, and cause constructor.- Parameters:
message
- An explanation of why the input could not be parsed, ornull
if no message should be used.key
- The key of the configuration configuration that was not found.cause
- The cause error ornull
if the cause is nonexistent or unknown.
-
MissingResourceKeyException
Creates an exception from an instance of Java's missing resource exception, usually associated with resource bundles.- Parameters:
missingResourceException
- The Java resource lookup exception that is the cause of this exception.- See Also:
-