public class InvalidAdminException extends AppianException
This exception may be thrown by service methods detecting that a given user or group does not exist as an admin of a group. For example,a method removing admins from a group will throw this if a given user x tries to be removed from group y, when x is not an admin of y (even if x is a valid user).
Constructor and Description |
---|
InvalidAdminException()
Constructs a new exception with
null as its detail message. |
InvalidAdminException(java.lang.String message_)
Constructs a new exception with the specified detail message.
|
InvalidAdminException(java.lang.String message_,
java.lang.Throwable t_)
Constructs a new exception with the specified detail message
and cause.
|
InvalidAdminException(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 InvalidAdminException()
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 InvalidAdminException(java.lang.String message_)
message_
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() methodpublic InvalidAdminException(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 InvalidAdminException(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.)Copyright © 2003-2024 Appian Corporation. All Rights Reserved.