Class ConfigurationError

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigurationError
    extends AbstractSourceError

    Indicates a failure in obtaining configuration.

    This is a critical error as the source is requiring the ConfigurationItem to initialise and subsequently start.

    Author:
    Daniel Sagenschneider
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationError​(java.lang.String missingLocation)
      Instantiate.
      ConfigurationError​(java.lang.String configurationLocation, java.lang.String nonconfiguredTagName)
      Initiate.
      ConfigurationError​(java.lang.String configurationLocation, java.lang.Throwable cause)
      Initiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConfigurationLocation()
      Obtains the location of the ConfigurationItem.
      java.lang.String getNonconfiguredTagName()
      Obtains the non-configured tag name.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConfigurationError

        public ConfigurationError​(java.lang.String missingLocation)
        Instantiate.
        Parameters:
        missingLocation - Location of missing ConfigurationItem.
      • ConfigurationError

        public ConfigurationError​(java.lang.String configurationLocation,
                                  java.lang.Throwable cause)
        Initiate.
        Parameters:
        configurationLocation - Location of the ConfigurationItem.
        cause - Throwable cause.
      • ConfigurationError

        public ConfigurationError​(java.lang.String configurationLocation,
                                  java.lang.String nonconfiguredTagName)
        Initiate.
        Parameters:
        configurationLocation - Location of the ConfigurationItem.
        nonconfiguredTagName - Name of tag in configuration that is not configured.
    • Method Detail

      • getConfigurationLocation

        public java.lang.String getConfigurationLocation()
        Obtains the location of the ConfigurationItem.
        Returns:
        Location of the ConfigurationItem.
      • getNonconfiguredTagName

        public java.lang.String getNonconfiguredTagName()
        Obtains the non-configured tag name.
        Returns:
        Non-configured tag name.