Class PasswordSynchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- 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
Constructors Constructor Description PasswordSynchException()
PasswordSynchException(java.lang.String message)
PasswordSynchException(java.lang.String message, java.lang.Throwable cause)
PasswordSynchException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 listsrc
- The original list of passwords.- Throws:
java.lang.IllegalArgumentException
- if any of the parameters are null.
-
-