public class InvalidProcessModelException extends AppianException
This exception may be thrown by service methods detecting that the user has referenced a process model that is not in the database.
Constructor and Description |
---|
InvalidProcessModelException()
Constructs a new InvalidProcessModelException with using the default
ErrorCode |
InvalidProcessModelException(ErrorCode errorCode_) |
InvalidProcessModelException(ErrorCode errorCode_,
java.lang.Throwable cause_) |
InvalidProcessModelException(java.lang.String message_)
Constructs a new InvalidProcessModelException with the specified detail
message.
|
InvalidProcessModelException(java.lang.String message_,
java.lang.Throwable t_)
Constructs a new InvalidProcessModelException with the specified detail
message and cause.
|
InvalidProcessModelException(java.lang.Throwable t_)
Constructs a new InvalidProcessModelException with the specified cause
and a detail message of (cause==null ?
|
Modifier and Type | Method and Description |
---|---|
ErrorCode |
getErrorCode()
Gets the error code associated with this exception.
|
getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage, toString
protected ErrorCode errorCode
public InvalidProcessModelException(ErrorCode errorCode_)
public InvalidProcessModelException(ErrorCode errorCode_, java.lang.Throwable cause_)
public InvalidProcessModelException()
ErrorCode
public InvalidProcessModelException(java.lang.String message_)
message_
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() methodpublic InvalidProcessModelException(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 InvalidProcessModelException(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 ErrorCode getErrorCode()
AppianException
getErrorCode
in class AppianException
ErrorCode.GENERIC_ERROR
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.