Class PropertyNotSetException

  • All Implemented Interfaces:
    Serializable

    public class PropertyNotSetException
    extends ConfigurationException
    Configuration exception thrown, if a required property is not set in the configuration.
    Author:
    Kevin Goeser
    See Also:
    Serialized Form
    • Constructor Detail

      • PropertyNotSetException

        public PropertyNotSetException​(String instanceName,
                                       String componentTypeName,
                                       String property)
        Create a new PropertyNotSetException by calling the super constructor with an appropriate message.
        Parameters:
        instanceName - The name of the instance, of which the configuration is incomplete.
        componentTypeName - The name of the component type of the designated instance.
        property - The name of the missing property.
      • PropertyNotSetException

        public PropertyNotSetException​(String message)
        Create a new PropertyNotSetException with the given message. If this exception is created manually, PropertyNotSetException(String, String, String) is the preferred way to create this exception.
        Parameters:
        message - the message for the exception