com.ibm.itim.remoteservices.exception

Class AccountAlreadyExistsException

  • All Implemented Interfaces:
    java.io.Serializable


    public class AccountAlreadyExistsException
    extends RemoteServicesException
    Exception thrown by remote services account add methods when the specified account already exists.

    It is also possible for this exception to occur when a race condition occurs. For example, where two future scheduled adds are run in parallel, and both contain the same account.

    See Also:
    Serialized Form
    • Field Detail

      • ACCOUNT_ALREADY_EXISTS_ERROR

        public static final java.lang.String ACCOUNT_ALREADY_EXISTS_ERROR
        message key for default message (used if a constructor with no message Id parameter is called)
        See Also:
        Constant Field Values
    • Constructor Detail

      • AccountAlreadyExistsException

        public AccountAlreadyExistsException(java.lang.String message)
        Constructor to pass an error message.
        Parameters:
        message - Error string.
      • AccountAlreadyExistsException

        public AccountAlreadyExistsException(java.lang.String messageId,
                                             java.lang.Object[] tokens)
        Constructor to pass an error key & tokens.
        Parameters:
        messageId - message id
        tokens - tokens / null