RetryTransactionException class

This exception can be thrown from a transactional Steplet to indicate that the transaction failed temporarily, and that it should be retried by the client.

Syntax

public class RetryTransactionException extends AgentryException

Members

All members of RetryTransactionException, including inherited members.

Constructors
Modifier and Type Constructor Description
public RetryTransactionException(String, String, String) Constructs a new RetryTransactionException object.
public RetryTransactionException(String, String, String, Throwable) Constructs a new RetryTransactionException object.
Inherited members from AgentryException
Modifier and Type Member Description
public AgentryException(String) Constructs a new AgentryException object.
public AgentryException(String, Throwable) Constructs a new AgentryException object.
public AgentryException(String, String, String, Throwable) Constructs a new AgentryException object, for methods that support throwing exceptions that may appear in the client.
public AgentryException(String, String, String) Constructs a new AgentryException object, for methods that support throwing exceptions that may appear in the client.
public final String getNotificationText() Returns the notification window text.
public final String getNotificationTitle() Returns the notification window title.
public final String getOkButtonLabel() Returns the notification window button label.

Usage

The client will resend the transaction immediately, and if it fails a second time then the transaction will be marked as fatal.

This exception is equivalent to the "Retry Without Change" transaction error fatality.