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
public final class DefinitionDecodingException extends DecodingException
The requested managed object was found but its type could not be determined.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefinitionDecodingException.Reason
An enumeration defining the reasons why the definition could not be resolved.
-
Constructor Summary
Constructors Constructor Description DefinitionDecodingException(AbstractManagedObjectDefinition<?,?> d, DefinitionDecodingException.Reason reason)
Create a new definition decoding exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractManagedObjectDefinition<?,?>
getManagedObjectDefinition()
Gets the expected managed object definition.DefinitionDecodingException.Reason
getReason()
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 Detail
-
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 Detail
-
getManagedObjectDefinition
public AbstractManagedObjectDefinition<?,?> getManagedObjectDefinition()
Gets the expected managed object definition.- Returns:
- Returns the expected managed object definition.
-
getReason
public DefinitionDecodingException.Reason getReason()
Gets the reason why the definition could not be determined.- Returns:
- Returns the reason why the definition could not be determined.
-
-