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.
All members of PasswordWarningException, including inherited members.
ConstructorsModifier and Type | Constructor | Description |
---|---|---|
public | PasswordWarningException() | Constructs a new PasswordWarningException object. |
public | PasswordWarningException(String) | Constructs a new PasswordWarningException object. |
public | PasswordWarningException(String, Throwable) | Constructs a new PasswordWarningException object. |
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. |
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. |
The user will be given the opportunity to change their password in response to this exception; if they do, the various password-changing methods of the User class will be invoked.