BusinessLogicException class

This exception represents an error condition that should be reported to the client.

Syntax

public class BusinessLogicException extends AgentryException

Members

All members of BusinessLogicException, including inherited members.

Constructors
Modifier and Type Constructor Description
public BusinessLogicException(String) Construct a new exception.
public BusinessLogicException(String, Throwable) Constructs a new BusinessLogicException 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

It can be thrown from any of the various client-related session methods, such as the methods on Steplet, DataTable , and ComplexTable. The error message in this exception will be displayed in the client's transmit window; in addition, if the printBusinessLogicStackTrace configuration option is enabled in the agentry.ini file for the Java system connection, then a full stack trace for the exception will also be displayed in the client's transmit window.