com.atlassian.crowd.exception
Class BulkAddFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.crowd.exception.BulkAddFailedException
All Implemented Interfaces:
java.io.Serializable

public class BulkAddFailedException
extends java.lang.Exception

An exception that is raised when the Bulk Creation of users failed.

See Also:
Serialized Form

Constructor Summary
BulkAddFailedException()
           
BulkAddFailedException(java.util.Set<java.lang.String> failedUsers, java.util.Set<java.lang.String> existingUsers)
           
BulkAddFailedException(java.lang.String message, java.util.Set<java.lang.String> failedUsers, java.util.Set<java.lang.String> existingUsers)
           
BulkAddFailedException(java.lang.String message, java.util.Set<java.lang.String> failedUsers, java.util.Set<java.lang.String> existingUsers, java.lang.Throwable throwable)
           
 
Method Summary
 java.util.Set<java.lang.String> getExistingUsers()
           
 java.util.Set<java.lang.String> getFailedUsers()
           
 void setExistingUsers(java.util.Set<java.lang.String> existingUsers)
           
 void setFailedUsers(java.util.Set<java.lang.String> failedUsers)
           
 
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

BulkAddFailedException

public BulkAddFailedException()

BulkAddFailedException

public BulkAddFailedException(java.util.Set<java.lang.String> failedUsers,
                              java.util.Set<java.lang.String> existingUsers)

BulkAddFailedException

public BulkAddFailedException(java.lang.String message,
                              java.util.Set<java.lang.String> failedUsers,
                              java.util.Set<java.lang.String> existingUsers)

BulkAddFailedException

public BulkAddFailedException(java.lang.String message,
                              java.util.Set<java.lang.String> failedUsers,
                              java.util.Set<java.lang.String> existingUsers,
                              java.lang.Throwable throwable)
Method Detail

getFailedUsers

public java.util.Set<java.lang.String> getFailedUsers()
Returns:
the usernames of the users that it failed to create

getExistingUsers

public java.util.Set<java.lang.String> getExistingUsers()
Returns:
the usernames of the users that it failed to create because they already existed.

setExistingUsers

public void setExistingUsers(java.util.Set<java.lang.String> existingUsers)

setFailedUsers

public void setFailedUsers(java.util.Set<java.lang.String> failedUsers)


Copyright © 2010 Atlassian. All Rights Reserved.