Interface AccountState.Error

All Known Implementing Classes:
ActiveDirectoryAccountState.Error, EDirectoryAccountState.Error, FreeIPAAccountState.Error, PasswordExpirationAccountState.Error, PasswordPolicyControl.Error
Enclosing class:
AccountState

public static interface AccountState.Error
Contains error information for an account state.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the error code.
    Returns the error message.
    void
    Throws the LoginException that best maps to this error.
  • Method Details

    • getCode

      int getCode()
      Returns the error code.
      Returns:
      error code
    • getMessage

      String getMessage()
      Returns the error message.
      Returns:
      error message
    • throwSecurityException

      void throwSecurityException() throws LoginException
      Throws the LoginException that best maps to this error.
      Throws:
      LoginException - for this account state error