public class AccountAlreadyExistsException extends RemoteServicesException
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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCOUNT_ALREADY_EXISTS_ERROR
message key for default message (used if a constructor with no message Id parameter is called)
|
| Constructor and Description |
|---|
AccountAlreadyExistsException(java.lang.String message)
Constructor to pass an error message.
|
AccountAlreadyExistsException(java.lang.String messageId,
java.lang.Object[] tokens)
Constructor to pass an error key & tokens.
|
getErrorMessageArgs, getXMLFormattedMessagegetLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXMLpublic static final java.lang.String ACCOUNT_ALREADY_EXISTS_ERROR
public AccountAlreadyExistsException(java.lang.String message)
message - Error string.public AccountAlreadyExistsException(java.lang.String messageId,
java.lang.Object[] tokens)
messageId - message idtokens - tokens / null