public class UnsupportedRoleException extends AppianException
This exception may be thrown by service methods detecting that a given role does not exist or is not supported. This exception is thrown whenever a role id or name is passed into a service method that is not supported by the service.
Constructor and Description |
---|
UnsupportedRoleException()
Constructs a new exception with
null as its detail message. |
UnsupportedRoleException(java.lang.String message_)
Constructs a new exception with the specified detail message.
|
UnsupportedRoleException(java.lang.String message_,
java.lang.Throwable t_)
Constructs a new exception with the specified detail message
and cause.
|
UnsupportedRoleException(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 UnsupportedRoleException()
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 UnsupportedRoleException(java.lang.String message_)
message_
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() methodpublic UnsupportedRoleException(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 UnsupportedRoleException(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.