Class ManagedObjectDecodingException
- 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.client.ManagedObjectDecodingException
-
- All Implemented Interfaces:
Serializable
,LocalizableException
public final class ManagedObjectDecodingException extends DecodingException
The requested managed object was found but one or more of its properties could not be decoded successfully.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectDecodingException(ManagedObject<?> partialManagedObject, Collection<PropertyException> causes)
Create a new property decoding exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<PropertyException>
getCauses()
Get an unmodifiable collection view of the causes of this exception.ManagedObject<?>
getPartialManagedObject()
Get the partially created managed object containing properties which were successfully decoded and empty properties for those which were not (this may include empty mandatory properties).-
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
-
ManagedObjectDecodingException
public ManagedObjectDecodingException(ManagedObject<?> partialManagedObject, Collection<PropertyException> causes)
Create a new property decoding exception.- Parameters:
partialManagedObject
- The partially created managed object containing properties which were successfully decoded and empty properties for those which were not (this may include empty mandatory properties).causes
- The exception(s) that caused this decoding exception.
-
-
Method Detail
-
getCauses
public Collection<PropertyException> getCauses()
Get an unmodifiable collection view of the causes of this exception.- Returns:
- Returns an unmodifiable collection view of the causes of this exception.
-
getPartialManagedObject
public ManagedObject<?> getPartialManagedObject()
Get the partially created managed object containing properties which were successfully decoded and empty properties for those which were not (this may include empty mandatory properties).- Returns:
- Returns the partially created managed object containing properties which were successfully decoded and empty properties for those which were not (this may include empty mandatory properties).
-
-