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
Configuration exception thrown, if a required property is not
set in the configuration.
- Author:
- Kevin Goeser
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyNotSetException(String message) Create a newPropertyNotSetExceptionwith the given message.PropertyNotSetException(String instanceName, String componentTypeName, String property) Create a newPropertyNotSetExceptionby 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 Details
-
PropertyNotSetException
Create a newPropertyNotSetExceptionby 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
Create a newPropertyNotSetExceptionwith 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
-