public class RetryableSmartServiceException extends SmartServiceException implements Retryable
Modifier and Type | Class and Description |
---|---|
static class |
RetryableSmartServiceException.Builder
The Builder inner class is used to create an instance of the SmartServiceException.
|
addCauseToAlertMessageArgs, addCauseToUserMessageArgs, alertMessageArgs, alertMessageKey, userMessageArgs, userMessageKey
Constructor and Description |
---|
RetryableSmartServiceException(java.lang.Class<? extends AppianSmartService> smartServiceClass,
java.lang.Throwable cause,
java.lang.String key,
java.lang.Object... args)
Construct a RetryableSmartServiceException from all of its constituent parts.
|
RetryableSmartServiceException(ErrorCode errorCode,
java.lang.Object... errorCodeArgs)
Constructor to be used if the RetryableSmartServiceException has an error code
associated with it.
|
RetryableSmartServiceException(ErrorCode errorCode,
java.lang.Throwable cause)
Constructor to be used if the RetryableSmartServiceException has an error code
associated with it and the root cause of the exception is to be included.
|
RetryableSmartServiceException(ErrorCode errorCode,
java.lang.Throwable cause,
java.lang.Object... errorCodeArgs)
Constructor to be used if the RetryableSmartServiceException has an error code
associated with it and the root cause of the exception is to be included.
|
getAlertMessage, getAttendedUserMessage, getCauseMessage, getExceptionClassName, getMessageFromBundle, toString
getErrorCode, getErrorCodeArguments, getErrorCodeArguments, getErrorCodeArgumentsAsStringArray, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageWithErrorCode, getLocalizedTitle, getMessage
public RetryableSmartServiceException(ErrorCode errorCode, java.lang.Object... errorCodeArgs)
errorCode
- the error code associated with the exceptionerrorCodeArg
- the parameters to the error code messageErrorCode
public RetryableSmartServiceException(ErrorCode errorCode, java.lang.Throwable cause, java.lang.Object... errorCodeArgs)
errorCode
- the error code associated with the exceptioncause
- the cause of the exceptionerrorCodeArg
- the parameters to the error code messageErrorCode
public RetryableSmartServiceException(ErrorCode errorCode, java.lang.Throwable cause)
errorCode
- the error code associated with the exceptioncause
- the cause of the exceptionErrorCode
public RetryableSmartServiceException(java.lang.Class<? extends AppianSmartService> smartServiceClass, java.lang.Throwable cause, java.lang.String key, java.lang.Object... args)
smartServiceClass
- the class that is throwing the exceptioncause
- the Throwable that was caught, causing the SmartServiceException to be
thrownkey
- the key to the error message in the bundleargs
- the set of paramaters that are passed with the error message to include
dynamic information in the message if the value of the error bundle contains
templates.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.