org.ldaptive.auth
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
 int getCode()
          Returns the error code.
 String getMessage()
          Returns the error message.
 void throwSecurityException()
          Throws the LoginException that best maps to this error.
 

Method Detail

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


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.