LoginBlockedException class

This exception is thrown from the login methods of the Server class to indicate that the user has been blocked from accessing this system connection.

Syntax

public class LoginBlockedException extends LoginException

Members

All members of LoginBlockedException, including inherited members.

Constructors
Modifier and Type Constructor Description
public LoginBlockedException() Constructs a new LoginBlockedException object.
public LoginBlockedException(String) Constructs a new LoginBlockedException object.
public LoginBlockedException(String, Throwable) Constructs a new LoginBlockedException object.
Inherited members from LoginException
Modifier and Type Member Description
public LoginException() Constructs a new login exception.
public LoginException(String) Constructs a new login exception with the given error message, which will be passed to the Agentry client.
public LoginException(String, Throwable) Constructs a new login exception with the given error message, which will be passed to the Agentry 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 indicates that no further logins should be attempted until the problem is corrected. It can be used, for example, to indicate that the user does not have sufficient privileges to access a remote system, or that the user's account has been locked out due to too many incorrect passwords.