Package org.forgerock.opendj.config
Class PropertyNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.opendj.config.AdminException
-
- org.forgerock.opendj.config.OperationsException
-
- org.forgerock.opendj.config.PropertyNotFoundException
-
- All Implemented Interfaces:
Serializable
,LocalizableException
public final class PropertyNotFoundException extends OperationsException
Thrown when an attempt is made to retrieve a property using its name but the name was not recognized.This exception can occur when attempt is made to retrieve inherited default values from a managed object.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyNotFoundException(String propertyName)
Create a new property not found exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
Get the name of the property that could not be found.-
Methods inherited from class org.forgerock.opendj.config.AdminException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PropertyNotFoundException
public PropertyNotFoundException(String propertyName)
Create a new property not found exception.- Parameters:
propertyName
- The name of the property that could not be found.
-
-
Method Detail
-
getPropertyName
public String getPropertyName()
Get the name of the property that could not be found.- Returns:
- Returns the name of the property that could not be found.
-
-