org.opends.server.admin.server
Class ServerManagedObjectDecodingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opends.server.types.OpenDsException
              extended by org.opends.server.admin.AdminException
                  extended by org.opends.server.admin.OperationsException
                      extended by org.opends.server.admin.DecodingException
                          extended by org.opends.server.admin.server.ServerManagedObjectDecodingException
All Implemented Interfaces:
java.io.Serializable

public class ServerManagedObjectDecodingException
extends DecodingException

The requested server managed object was found but one or more of its properties could not be decoded successfully.

See Also:
Serialized Form

Constructor Summary
ServerManagedObjectDecodingException(ServerManagedObject<?> partialManagedObject, java.util.Collection<PropertyException> causes)
          Create a new property decoding exception.
 
Method Summary
 java.util.Collection<PropertyException> getCauses()
          Get an unmodifiable collection view of the causes of this exception.
 ServerManagedObject<?> getPartialManagedObject()
          Get the partially created server 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.opends.server.types.OpenDsException
getMessageObject
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerManagedObjectDecodingException

public ServerManagedObjectDecodingException(ServerManagedObject<?> partialManagedObject,
                                            java.util.Collection<PropertyException> causes)
Create a new property decoding exception.

Parameters:
partialManagedObject - The partially created server 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 java.util.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 ServerManagedObject<?> getPartialManagedObject()
Get the partially created server 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 server managed object containing properties which were successfully decoded and empty properties for those which were not (this may include empty mandatory properties).