com.ibm.di.plugin.pwstore.itim.policy
Class PasswordSynchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.di.plugin.pwstore.itim.policy.PasswordSynchException
All Implemented Interfaces:
java.io.Serializable

public class PasswordSynchException
extends java.lang.Exception

Exception type thrown when password synchronization fails.

This class provides a method to retrieve the list of passwords that have not been synchronized. This situation could occur when an error was detected before all passowrds could be synchronized.

See Also:
Serialized Form

Constructor Summary
PasswordSynchException()
           
PasswordSynchException(java.lang.String message)
           
PasswordSynchException(java.lang.String message, java.lang.Throwable cause)
           
PasswordSynchException(java.lang.Throwable cause)
           
 
Method Summary
 java.util.List getUnSynchronizedPasswords()
           
 void initUnSynchronizedPasswords(java.util.ListIterator i, java.util.List src)
          Takes a view of the sub list of the source list starting at the iterator to the size of the source list.
 
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

PasswordSynchException

public PasswordSynchException()

PasswordSynchException

public PasswordSynchException(java.lang.String message)
Parameters:
message -

PasswordSynchException

public PasswordSynchException(java.lang.String message,
                              java.lang.Throwable cause)
Parameters:
message -
cause -

PasswordSynchException

public PasswordSynchException(java.lang.Throwable cause)
Parameters:
cause -
Method Detail

getUnSynchronizedPasswords

public java.util.List getUnSynchronizedPasswords()
Returns:
The list of unsynchronized passwords, or null if not set. This list is unmodifiable.

initUnSynchronizedPasswords

public void initUnSynchronizedPasswords(java.util.ListIterator i,
                                        java.util.List src)
Takes a view of the sub list of the source list starting at the iterator to the size of the source list. This method and class do not modify the source list. Any post method execution of the source list will invalidate this objects' stored view of the source list.

Parameters:
i - The first source element of the sub list
src - The original list of passwords.
Throws:
java.lang.IllegalArgumentException - if any of the parameters are null.