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 Details

    • MissingResourceKeyException

      public MissingResourceKeyException(@Nonnull String key)
      Key constructor.
      Parameters:
      key - The key of the configuration configuration that was not found.
    • MissingResourceKeyException

      public MissingResourceKeyException(@Nullable String message, @Nonnull String key)
      Message and key constructor.
      Parameters:
      message - An explanation of why the input could not be parsed, or null if no message should be used.
      key - The key of the configuration configuration that was not found.
    • MissingResourceKeyException

      public MissingResourceKeyException(@Nonnull String key, @Nullable Throwable cause)
      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 or null 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, or null if no message should be used.
      key - The key of the configuration configuration that was not found.
      cause - The cause error or null if the cause is nonexistent or unknown.
    • MissingResourceKeyException

      public MissingResourceKeyException(@Nullable MissingResourceException missingResourceException)
      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: