com.atlassian.crowd.integration.exception
Class BulkAddFailedException

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

public class BulkAddFailedException
extends CheckedSoapException

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

Use for SOAP only. Class exists strictly to maintain Crowd 2.0.x compatibility. Use the exception classes in com.atlassian.crowd.exception instead.

See Also:
Serialized Form

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

BulkAddFailedException

public BulkAddFailedException(String message,
                              Set<String> failedUsers,
                              Set<String> existingUsers)

BulkAddFailedException

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

getFailedUsers

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

getExistingUsers

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

setExistingUsers

public void setExistingUsers(Set<String> existingUsers)

setFailedUsers

public void setFailedUsers(Set<String> failedUsers)


Copyright © 2012 Atlassian. All Rights Reserved.