Class PropertyNotSetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.base.configuration.AbortServiceException
-
- de.aristaflow.adept2.base.configuration.ConfigurationException
-
- de.aristaflow.adept2.base.configuration.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 Summary
Constructors Constructor Description PropertyNotSetException(String message)
Create a newPropertyNotSetException
with the given message.PropertyNotSetException(String instanceName, String componentTypeName, String property)
Create a newPropertyNotSetException
by calling the super constructor with an appropriate message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PropertyNotSetException
public PropertyNotSetException(String instanceName, String componentTypeName, String property)
Create a newPropertyNotSetException
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 newPropertyNotSetException
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
-
-