public class ActivityExecutionException
extends java.lang.Exception
Constructor and Description |
---|
ActivityExecutionException(ErrorCode code,
java.util.Locale locale,
java.lang.Object... arguments) |
ActivityExecutionException(java.lang.Exception cause,
java.lang.String attendedMsg,
java.lang.String notifyMsg)
Construct a new
ActivityExecutionException |
ActivityExecutionException(java.lang.Exception cause,
java.lang.String attendedMsg,
java.lang.String notifyMsg,
boolean notified)
Construct a new
ActivityExecutionException |
ActivityExecutionException(java.lang.String attendedMsg,
java.lang.String notifyMsg)
Construct a new
ActivityExecutionException |
ActivityExecutionException(java.lang.String attendedMsg,
java.lang.String notifyMsg,
boolean notified)
Construct a new
ActivityExecutionException |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Method returns the actual exception that occurred in the Activity class
|
java.lang.String |
getExceptionClassName()
Returns the name of the type of the exception that occurred in the activity
class
|
boolean |
getNotified()
Has the process administrator been notified of this exception?
|
java.lang.String |
getNotifyMessage()
Gets the message that will be sent to the process initiator in a
notification.
|
java.lang.String |
getUserMessage()
Returns the message set by the Activity class for the current user.
|
void |
setNotified(boolean notified) |
void |
setNotifyMessage(java.lang.String notifyMessage)
Sets the messages that will be sent to the process initiator in a
notification.
|
public ActivityExecutionException(ErrorCode code, java.util.Locale locale, java.lang.Object... arguments)
public ActivityExecutionException(java.lang.Exception cause, java.lang.String attendedMsg, java.lang.String notifyMsg)
ActivityExecutionException
cause
- the exception which occurred while executing the activityattendedMsg
- the message to be displayed to the user in an attended activitynotifyMsg
- the message to be sent to the process administratorpublic ActivityExecutionException(java.lang.Exception cause, java.lang.String attendedMsg, java.lang.String notifyMsg, boolean notified)
ActivityExecutionException
cause
- the exception which occurred while executing the activityattendedMsg
- the message to be displayed to the useradminMsg
- the message to be sent to the process administratornotified
- whether or not the process administrator has been notifiedpublic ActivityExecutionException(java.lang.String attendedMsg, java.lang.String notifyMsg)
ActivityExecutionException
attendedMsg
- the message to be displayed to the user in an attended activityadminMsg
- the message to be sent to the process administratorpublic ActivityExecutionException(java.lang.String attendedMsg, java.lang.String notifyMsg, boolean notified)
ActivityExecutionException
usrMsg
- the message to be displayed to the useradminMsg
- the message to be sent to the process administratornotified
- whether or not the process administrator has been notifiedpublic java.lang.String getUserMessage()
public java.lang.Exception getException()
public java.lang.String getNotifyMessage()
public void setNotifyMessage(java.lang.String notifyMessage)
notifyMessage
- the message to be sent to the process initiatorpublic java.lang.String getExceptionClassName()
public boolean getNotified()
true
if the process administrator has been notified;
false
otherwisepublic void setNotified(boolean notified)
getNotified()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.