Package org.forgerock.opendj.config
Class DefinitionDecodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.opendj.config.AdminException
org.forgerock.opendj.config.OperationsException
org.forgerock.opendj.config.DecodingException
org.forgerock.opendj.config.DefinitionDecodingException
- All Implemented Interfaces:
Serializable
,LocalizableException
The requested managed object was found but its type could not be determined.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumeration defining the reasons why the definition could not be resolved. -
Constructor Summary
ConstructorDescriptionDefinitionDecodingException
(AbstractManagedObjectDefinition<?, ?> d, DefinitionDecodingException.Reason reason) Create a new definition decoding exception. -
Method Summary
Modifier and TypeMethodDescriptionGets the expected managed object definition.Gets the reason why the definition could not be determined.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 Details
-
DefinitionDecodingException
public DefinitionDecodingException(AbstractManagedObjectDefinition<?, ?> d, DefinitionDecodingException.Reason reason) Create a new definition decoding exception.- Parameters:
d
- The expected type of managed object.reason
- The reason why the definition could not be determined.
-
-
Method Details
-
getManagedObjectDefinition
Gets the expected managed object definition.- Returns:
- Returns the expected managed object definition.
-
getReason
Gets the reason why the definition could not be determined.- Returns:
- Returns the reason why the definition could not be determined.
-