PasswordWarningCannotChangeException class

This exception can be thrown from the login methods of the Server class to indicate that the user's password is going to expire soon, and that this system connection does not support changing it.

Syntax

public class PasswordWarningCannotChangeException extends LoginException

Members

All members of PasswordWarningCannotChangeException, including inherited members.

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

The user will not be allowed to proceed with their transmission until they change their password via some other means (such as via another system).

This exception should be used instead of PasswordWarningException if the various password-changing methods of User have not been implemented.