FatalTransactionException class

This exception can be thrown from a transactional Steplet to indicate that the transaction failed in a way that cannot be corrected or recovered from.

Syntax

public class FatalTransactionException extends AgentryException

Members

All members of FatalTransactionException, including inherited members.

Constructors
Modifier and Type Constructor Description
public FatalTransactionException(String) Constructs a new FatalTransactionException object.
public FatalTransactionException(String, Throwable) Constructs a new FatalTransactionException object.
public FatalTransactionException(String, String, String) Constructs a new FatalTransactionException object that will cause an error notification window to appear on the client.
public FatalTransactionException(String, String, String, Throwable) Constructs a new FatalTransactionException object that will cause an error notification window to appear on the client.
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

It will remove the transaction from the client and save it to the failed transactions queue on the Agentry Server. It will optionally display an error notification window to the client user.

This exception combines and replaces the functionality of the SycloFatalExceptionWithMessage and SycloFatalExceptionWithoutMessage exceptions from version 4 of the AJAPI.