kaos.core.service.directory
Class ModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by kaos.core.service.directory.ModificationException
All Implemented Interfaces:
java.io.Serializable

public class ModificationException
extends java.lang.Exception

ModificationException defines an exception to be thrown by the Directory Service when one or more modifications of properties of the registered entity fails.

See Also:
Serialized Form

Constructor Summary
ModificationException()
          Constructs a new ModificationException with no detailed message.
ModificationException(java.lang.String msg)
          Constructs a new ModificationException with a detailed message.
 
Method Summary
 java.util.List getFailedMods()
          Return a List of failed modifications.
 void setFailedMods(java.util.List failedMods)
          Return a List of failed modifications.
 
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

ModificationException

public ModificationException()
Constructs a new ModificationException with no detailed message.


ModificationException

public ModificationException(java.lang.String msg)
Constructs a new ModificationException with a detailed message. A detail message is a String that describes the exception.

Parameters:
msg - String containning the detailed message.
Method Detail

getFailedMods

public java.util.List getFailedMods()
Return a List of failed modifications. The elements of the List are Property objects containing failure descriptions and the name and value of the property, whose update failed.


setFailedMods

public void setFailedMods(java.util.List failedMods)
Return a List of failed modifications. The elements of the List are Property objects containing failure descriptions and the name and value of the property, whose update failed.