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
Nested ClassesModifier and TypeClassDescriptionstatic enum
An enumeration defining the reasons why the definition could not be resolved. -
Constructor Summary
ConstructorsConstructorDescriptionDefinitionDecodingException
(AbstractManagedObjectDefinition<?, ?> d, DefinitionDecodingException.Reason reason) Create a new definition decoding exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the expected managed object definition.Returns 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
Returns the expected managed object definition.- Returns:
- the expected managed object definition
-
getReason
Returns the reason why the definition could not be determined.- Returns:
- the reason why the definition could not be determined
-