public class DuplicateNameException extends AppianException
This exception may be thrown by service methods detecting that a given name of a user, group, grouptype, or attribute name is not unique. (There are other entities that exist with the given name). This exception is NOT thrown if the entity (group, user, group type, etc.) is trying to update itself, and the name passed in = the entity's current name.
Constructor and Description |
---|
DuplicateNameException()
Constructs a new exception with
null as its detail message. |
DuplicateNameException(ErrorCode errorCode,
java.lang.Object... args) |
DuplicateNameException(java.lang.String message_)
Constructs a new exception with the specified detail message.
|
DuplicateNameException(java.lang.String message_,
java.lang.Throwable t_)
Constructs a new exception with the specified detail message
and cause.
|
DuplicateNameException(java.lang.Throwable t_)
Constructs a new exception with the specified cause and a
detail message of (cause==null ?
|
getErrorCode, getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage, toString
public DuplicateNameException()
null
as its detail message.
The cause is not initialized, and may subsequently be initialized by a
call to Throwable.initCause(java.lang.Throwable)public DuplicateNameException(java.lang.String message_)
message_
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() methodpublic DuplicateNameException(java.lang.Throwable t_)
t_
- the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null
value is
permitted, and indicates that the cause is nonexistent or unknown.)public DuplicateNameException(java.lang.String message_, java.lang.Throwable t_)
message_
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() methodt_
- the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null
value is
permitted, and indicates that the cause is nonexistent or unknown.)public DuplicateNameException(ErrorCode errorCode, java.lang.Object... args)
errorCode
- args
- Copyright © 2003-2024 Appian Corporation. All Rights Reserved.